A set of laravel view components.
Via composer:
composer require yannoff/lumiere-ui
Generate a heading block with an apposite anchor.
Name | Required | Description |
---|---|---|
level | yes | The heading level (1 to 6) |
<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>
Basic renderer for simple markdown.
Here is the thorough list of the supported markdown syntax modifiers:
Type | Modifier | Example | Description |
---|---|---|---|
Bold | Double underscore / asterisk | **my bold text** |
Wrap the text with <b> tags |
Italic | Simple underscore / asterisk | _my italic text_ |
Wrap the text with <i> tags |
Inline code | Backticks | `my code snippet` |
Wrap the text with <code> tags |
URLs | - | https://site.com |
Wrap the URL in a <a> tag |
Links | Braquets | [Site](https://site.com) |
Renders a <a> tag |
<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>.
Licensed under the MIT License.