Thanks for directing me to shortcodes. It was something I was looking for. As for md-mermaid I have tried it but without success. I have added all files and link them into template but I was producing empty block. Not sure why but since shortcodes are working for me I was not digging into that.
środa, 4 sierpnia 2021 o 14:17:50 UTC+2 Roberto Alsina napisał(a): > Or just use this extension: > > https://pypi.org/project/md-mermaid/ > > Of course since mermaid renders client side you will have to change > templates to add the proper stuff to the page. > > On Wed, Aug 4, 2021 at 9:14 AM Roberto Alsina <[email protected]> wrote: > >> On Wed, Aug 4, 2021 at 9:07 AM Maciej Kusz <[email protected]> wrote: >> >>> Does anybody was able to integrate mermaid with markdown syntax? Or >>> there is another way of adding charts using markdown? >> >> >> Not sure anyone has tried. >> >> Depending on what sort of chart you want, Nikola already has support for >> a number of things: >> >> There's the chart shortcode: >> https://getnikola.com/handbook.html#built-in-shortcodes >> >> There is a graphviz extension for rst which could easily be converted >> into a shortcode: https://plugins.getnikola.com/v7/graphviz/ >> >> Then any python-markdown extension that does charts should work if you >> install it and enable it. >> >> For example, superfences seems to support mermaid: >> >> https://facelessuser.github.io/pymdown-extensions/extensions/superfences/ >> >> >> >> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "nikola-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/nikola-discuss/f99fff20-57c6-4c5a-8b11-f0fa75ea90fbn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/nikola-discuss/f99fff20-57c6-4c5a-8b11-f0fa75ea90fbn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/67fc22fc-a0a8-42c6-b180-33348600b192n%40googlegroups.com.
