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
Merge develop into master #104
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can now do e.g. ``` (header_target)= # Header {ref}`header_target` ```
adding rtd docs
Update .readthedocs.yml
Update .readthedocs.yml
- Implement `render_auto_link`, `render_html_span` and `render_html_block` - Add tests for more syntax elements - Add parsed token and PR guide to README
- Specify github fork in `setup_requires` - Update .travis.yml - Remove docs/requirements.txt
…s with `$` notation in docs (#17)
Also add labelled math to example.
The classic use case for sphinx is: ```markdown --- orphan: true --- This is an orphan document, not specified in any toctrees. ```
added png fig
* adding inter-doc links and more explanation of tokens * Add quotations in install command (required by som consoles) Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
Also add error reporting for YAML block parsing.
In this PR I have: 1. Restructured the test folder and added an `AstRenderer` and lower level tests for the source text to Markdown (mistletoe) AST. 2. Added `docs/develop/test_infrastructure.md` to explain the testing inrastructure. 3. Restructured the directive block parsing, to make it more modular/understandable and improved error checking and reporting. fixes #54, fixes #55, fixes #51
* Incorporate math blocks into core token search * improve `find_core_tokens` * Update span_tokens.py * Improve consisency between examples * Retry `math:numref` * Update wealth_dynamics_md.md
* Move directive parsing code to separate module * Allow content to start on argument block (if no arguments allowed) * Update syntax.md fixes #55
- The GitHub folder has been renamed to 'MyST-Parser' - The package name has been change to 'myst-parser' - Also changed doc references from Myst to MyST
Also: * Update Sphinx environment mocking * Add basic sphinx documentation
Also: * Fix warnings in docs * Add guidance on how to run doc build tests * Allow parsed lines to be stored in the document * Ignore 'private' underscore attribute in `AstRenderer`
Although `Footnote` is used by mistletoe, this is incorrect because it actually refers to <https://spec.commonmark.org/0.28/#link-reference-definitions>, rather than what would generally be considered a footnote: <https://www.markdownguide.org/extended-syntax/#footnotes>. There is discussion about link definitions vs footnotes here: <https://talk.commonmark.org/t/footnote-extensions-vs-link-reference-definition/2571>.
Add CLI and documentation, benchmarking `myst-parser` against other Python based markdown parsers.
Part of the benchmark, but then shows up in the top-level index
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
to make sure the build return a non-zero exit code on warnings, but does still complete.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a precursor to making master the default branch