Can I Use Custom Markdown in Publii
Based on the available information, Publii’s Markdown editor appears to have limited support for custom Markdown extensions. The Markdown editor in Publii was originally based on SimpleMDE but has since been updated to use EasyMDE as of version 0.39[5].
The standard Markdown editor in Publii supports common Markdown syntax for elements like headers, links, and images, allowing you to insert various HTML elements using shorthand symbols without worrying about opening and closing tags[1]. You can also drag and drop images directly into the editor[1].
While there’s no explicit mention of support for custom Markdown extensions, Publii does offer some customization options through:
Plugins - Since version 0.39.0, Publii has included plugin support that provides additional features beyond basic functionality[3]. These plugins can extend Publii’s capabilities, though specific Markdown extension plugins aren’t mentioned in the search results.
Custom code - You can add custom code to specific posts by creating a custom textarea in the post options. This is done by modifying the config.json file and adding code to the footer.hbs file[2]. While this doesn’t directly extend Markdown syntax, it does allow for custom elements to be added to specific posts.
Syntax highlighting - Publii offers a Syntax Highlighter plugin that can format and highlight code blocks according to the specified language[4]. This works with both the Block Editor and enhanced WYSIWYG editor.
If you need advanced Markdown capabilities beyond what’s natively supported, you might need to use external Markdown processors and then import the resulting HTML, or explore if there are specific plugins available that extend Markdown functionality.
Sources [1] The Markdown Editor - Publii https://getpublii.com/docs/the-markdown-editor.html [2] Adding custom code to only certain posts - Forum - Publii https://forum.getpublii.com/topic/adding-custom-code-to-only-certain-posts/ [3] Plugins - Publii https://getpublii.com/docs/plugins.html [4] Syntax Highlighter Plugin for Publii: How to Enable and Configure https://getpublii.com/docs/syntax-highlighter.html [5] Publii 0.39 update released: Plugins, UI translations and more https://getpublii.com/blog/release-039.html [6] The WYSIWYG Editor - Publii https://getpublii.com/docs/post-editor.html [7] Markdown syntax · Issue #117 · GetPublii/Publii - GitHub https://github.com/GetPublii/Publii/issues/117 [8] Publii + GitHub for a simple photographer’s webpage (?) - Lounge https://discuss.pixls.us/t/publii-github-for-a-simple-photographers-webpage/35239
