A simple plugin to insert a code file into a page.
GitHub: https://github.com/fanningert/kirbycms-extension-code
In action: https://www.fanninger.at/thomas/works/kirbycms-extension-code
Features
- Support file and inline source code as source
- Activate/Deactivate block internal parse (markdown, smartypants, kirbytags)
- language tags (html:
...class="language-css"...
) - Figure block, create around of the pre-code block a
<figure>
with<figcaption>
at the bottom or at the top (your choice).
NOTE:
When you have ideas for a new feature, please open a new issue on the GitHub page of this plugin.
Update (2015/05/30):
- Now the plugin support to activate/deactivate block internal parse (markdown, smartypants, kirbytags).