typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
427 stars 60 forks source link

New plugins/shortcodes > HTMLopen and HTMLclose #367

Open jasonday opened 1 year ago

jasonday commented 1 year ago

Add configurable HTML tags to your markdown content via shortcodes. https://github.com/jasonday/typemill-plugins

These two plugins/shortcodes must be used in conjunction.

Use

 [:htmlopen tag="div" id="author" class="card":]
 my content
 [:htmlclose tag="div":]

Shortcodes can be nested just like HTML for complex layouts and elements.

trendschau commented 1 year ago

great, thank you, I will check the plugins this week and then publish on plugins.typemill.net

I think they will be highly appreciated by some users, we had some discussions about pure html in markdown before, so this is a good compromise.

jasonday commented 1 year ago

@trendschau - Because I have a repo to contain all of my Typemill plugin development, I added a readme.md to each plugin directory so that you can use that info for the plugins page. Thanks.

trendschau commented 1 year ago

Great, I found some time to publish it, sorry for the delay: https://plugins.typemill.net/