Hugo created shortcodes to circumvent these limitations.Ī shortcode is a simple snippet inside a content file that Hugo will render using a predefined template. We think this contradicts the beautiful simplicity of Markdown’s syntax. Often, content authors are forced to add raw HTML (e.g., video ) to Markdown content. Integrating MermaidJS as a Hugo shortcode What is a Hugo shortcode? Unfortunately for users of Hugo, this breaks out of the Hugo paradigm since it just injects HTML into pages. We’re leveraging, “a fast, global content delivery network for everything on npm”. For more information about async, see the script tag MDN documentation Feel free to include the script tag anywhere on the page, it’s marked as async so should not render blocking regardless.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |