On March 26, 2025 1:15:37 PM GMT-04:00, Little Girl via Users <users@lists.geany.org> wrote: >Hey there, > >H via Users wrote: > >>Will the markdown preview plugin in geany 2.1 offer broader support >>of the markdown syntax? > >I can't answer that, but I've got work-arounds listed below. > >>I am particularly interested in support for tables and footnotes. > >I do most of my Markdown and reStructuredText editing in Geany, but >have added these three commands into the "Markdown commands" section >of the "Set Build Commands" entry in the "Build" menu of Geany to >help out, especially with viewing the rendered files: > >okular "%f" >ebook-viewer "%f" >formiko "%f" > /dev/null 2>&1 > >My Geany toolbar contains these icons and I can't remember if I >manually added them or if they showed up automatically when I put >those three commands into the "Build" menu: > > * The "Compile the current file" icon opens the current file > in Okular, which is a universal document viewer. > > * The "Build the current file" icon opens the current file in > E-book viewer, which is a document viewer installed by the > Calibre package. > > * The "Run or view the current file" opens the current file > in Formiko, which is a side-by-side reStructuredText and > Markdown editor/viewer. > >In the event that you don't get those three icons automatically, >there's menu access to all of these things, but I just prefer a click >quick of a button over that. Also, I'd be happy to poke around >in-depth to find out exactly what I did to add them and share that >here. > >As to your particular interest, neither Okular nor Formiko render >Markdown footnotes or tables correctly, but E-book viewer does. > >And just as a side note, in case you decide to try out all the things >I use, when I use the Geany toolbar icon to open the current Geany >file in Formiko, I can do some editing in the Formiko window if I >like. Then, when I close Formiko and save the changes, Geany >recognizes that the file changed and pops up a notification offering >to let me click to refresh the file. > >Also, to see your Markdown or reStructuredText files rendered in a >different way, you can create a GitHub account, if you don't already >have one, and then create a private Markdown Gist and paste any >Markdown contents you're editing in Geany into it and preview the >Gist. I find that especially useful when I've got a lot of inline >code and/or blocks of code, since GitHub colors the background on >them to make it easy to quickly spot them in huge documents.
Thank you very much for your workarounds. Would be great though, if this coming version of the markdown preview plugin would support expanded markdown syntax in itself. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-le...@lists.geany.org