Closed nodiscc closed 6 years ago
ReText uses Python 3, not Python 2.7. So you need to replace pip
with pip3
in your command.
Also, the extension name should be markdown_checklist.extension
, not just markdown_checklist
according to its documentation.
After changing that, it works fine for me:
See https://github.com/retext-project/retext/issues/243#issuecomment-249485790 for the instructions to install a different extension for the same task, maybe it looks a bit nicer.
Thanks, and great suggestion! I installed https://facelessuser.github.io/pymdown-extensions/ using pip3 install --user pymdown-extensions
and added pymdownx.tasklist
to ~/.config/markdown-extensions.txt
.
Hi, I am trying to enable https://github.com/FND/markdown-checklist in Retext to add support for checkboxes (
- [ ]
and- [x]
). I have installed the extension usingpip install markdown-checklist --user
and it installs properly in~/.local/lib/python2.7/site-packages/markdown_checklist/
, I canimport markdown_checklist
from the Python console without errors.I have added
markdown_checklist
to the list of extensions in~/.config/markdown-extensions.txt
and/or through Retext's extensions field in the settings dialog.However no checkboxes are rendered.
How should I proceed to add this extension to Retext?
retext 7.0.1-1, Debian 9 stretch
Thanks in advance