-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add support for restructured text (.rst) code blocks #1441
Comments
Use pandoc module. |
@yav closing as no longer relevant. .rst is a relatively complex format, so a simple parser similar to what we have for Markdown and Latex wouldn't cut it. A better way is probably to convert .rst code blocks to cryptol separately, and then directly load cryptol files. |
I think this would be a nice feature to have and extracting Cryptol code blocks from an RST really shouldn't be that hard. Can you say a bit more about what difficulties you envision? |
Of course. Here are the specs for the code-block directive in rst. An example:
The trick is you have to track the opening token |
An example below:
The text was updated successfully, but these errors were encountered: