yannoff / lumiere-ui
A set of laravel view components
0.3.0
2021-12-20 19:11 UTC
Requires
- php: >=7.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-10 00:49:21 UTC
README
A set of laravel view components.
Installation
Via composer:
composer require yannoff/lumiere-ui
Reference
x-heading
Generate a heading block with an apposite anchor.
Attributes
Example
<x-heading level="2"> My Heading 2 </x-heading>
will render as
<h2><a name="my-heading-2" href="#my-heading-2">My Heading 2</a></h2>
x-md
Basic renderer for simple markdown.
Supported modifiers
Here is the thorough list of the supported markdown syntax modifiers:
Example
<x-md> The `yannoff/lumiere-ui` component is **awesome**. See the [repository](https://github.com/yannoff/lumiere-ui "Lumiere Github repo"). <x-md>
will render as
The <code>yannoff/lumiere-ui</code> component is <b>awesome</b>. See the <a href="https://github.com/yannoff/lumiere-ui" title="Lumiere Github repo">repository</a>.
License
Licensed under the MIT License.