ondratu / formiko

reStructuredText editor and live previewer
Other
121 stars 9 forks source link

Common Mark option is grayed out #37

Closed darenw closed 2 years ago

darenw commented 2 years ago

On my Arch Linux machine, in the settings drop-down, "Common Mark parser" is grayed out. Apparently it's necessary for viewing .md files. Why? It is not clear. I guessed that I needed to install cmark, but doing so did not help. Perhaps some other package for dealing with markdown or commonmark?

On a nearby Ubuntu machine, I installed formiko (using synaptic) and it shows .md files just fine. Works great! Using the common mark option in settings. Interesting: cmark is not installed.

What is different between the Arch machine and the Ubuntu machine? What to install on Arch to un-gray that option?

joerek-von-boerek commented 2 years ago

you need to install python-recommonmark

ondratu commented 2 years ago

I was add some additional information to option tool-tips: https://github.com/ondratu/formiko/commit/4f100d0f877a3063f0a7a1ecbf8da078a1ed03ad