@ulu/frontend
Version:
A framework-agnostic frontend toolkit providing a modular, tree-shakable library of accessible components and utilities. Designed for seamless integration, it features a highly configurable SCSS system for any environment and vanilla JavaScript modules op
15 lines (14 loc) • 547 B
HTML
<!-- @ulu-demo
title: WYSIWYG Content
description: Automatically applies standard styling to raw HTML elements (headings, lists, links) within a container.
-->
<div class="wysiwyg">
<h2>Main Topic</h2>
<p>This is a paragraph with a <a href="#">link inside it</a>. The styling is automatically handled by the `.wysiwyg` class.</p>
<ul>
<li>Unordered list item one</li>
<li>Unordered list item two</li>
</ul>
<h3>Sub-section</h3>
<p>Headings are also automatically sized according to the typography configuration.</p>
</div>