-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[myst] #376
Comments
We’re using the most basic myst API in the plugin, as documented. Considering you can also easily reproduce this outside of Nikola, it’s a myst issue. Please report a bug to the myst project, and without the Nikola context (run |
Hi, i asked to the myst project, and here it's their answer: So, as i suspected, sphinx is needed to get the proper output. At least to me, it means that using myst plugin in nikola has no sense because it won't parse all its features which somehow i can get from restructured text. Of course that myst its a nice mix of both worlds which I would prefer to have access to from nikolla. Thanks for your support, nikola its a great project! |
Maybe the plugin could be fixed to work without sphinx (by going through |
I'm not a programmer, so maybe chances are that my issue is not really a problem of the myst plugin.
All roles and directives that have a rst-like syntax are no parsed right by myst plugin, only the ones that are mardown-like.
In myst.py (line 66) we see
I tried to use the myst API to reproduce the behavior of
to_hml
by itself and it produces the same not valid html output.for instance
It could be something related to how myst workflow is internally wired, which seems to rely on sphinx and ultimately docutils to produce the html (i tried every admonition including the ones that are identical upon translation, as {error} giving same results.
input
output
Finally, i set up both sphinx and a jupyterbook mock sessions and fed them the same
.md
document giving valid html output wich was rendered as expected.Any help would be great.
The text was updated successfully, but these errors were encountered: