Directives help you write texts similar to markdown using a directive keyword. All the pages that contains Contents, support custom directives. Also, some of this page's content has been written in custom directives.
- Make sure to close each directives appropriately to avoid render issues.
- @pg / @endpg: an open/close custom directive, allows you to create a new paragraph that gives vertical spaces between two paragraphs. Spaces between any consecutive paragraphs are approximately 32 pixels.
- @block / @endblock: An open/close custom directive, which allows you to enter a new line without creating a new paragraph.
- @link: A functional custom directive, allows you to create a link with given name and URL. The first argument is the link. The second argument is the name of the link
- @marker: a functional custom directive, allows you to mark a text highlighted.
@pg This is a paragraph and @marker([ this text is highlighted ]), by using block directive @block I can move this line in a new line @endblock I can also put @link([ https://google.com ][ Google ]) link here. now I end the paragrpah @endpg @pg This is the start of the second paragraph @endpg
This is a paragraph and this text is highlighted, by using block directive I can move this line in a new line I can also put Google link here. now I end the paragrpah
This is the start of the second paragraph