Skip to content
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

Handle notes, etc. with MD admonitions #410

Commits on Apr 12, 2022

  1. Add admonition.py.

    Taken from https://github.com/Python-Markdown/markdown/tree/master/markdown, commit 383de86c64101b8d14768d9a247c9efc97d703bd.
    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    a9be11f View commit details
    Browse the repository at this point in the history
  2. Rename admonition.py to md_extensions.py.

    Rationale: more markdown extensions will be added to this module later.
    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    f248ddb View commit details
    Browse the repository at this point in the history
  3. Format md_extensions.py with black.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    1c217ae View commit details
    Browse the repository at this point in the history
  4. md_extensions.py: fix imports.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    6a07eed View commit details
    Browse the repository at this point in the history
  5. Add preprocessor for admonitions.

    Preprocessor converts FORD syntax to markdown admonition syntax.
    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    8488c19 View commit details
    Browse the repository at this point in the history
  6. Modify admonition block processor to reproduce FORD admonitions.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    7cc8b69 View commit details
    Browse the repository at this point in the history
  7. Small fix in AdmonitionProcessor.

    Mistake prevented locating the sibling element unless the admonition type was "note".
    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    3402f09 View commit details
    Browse the repository at this point in the history
  8. Remove todo item in AdmonitionPreprocessor docstring.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    db48552 View commit details
    Browse the repository at this point in the history
  9. Add support for admonitions with text on the first line after the sta…

    …rt marker.
    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    bee5938 View commit details
    Browse the repository at this point in the history
  10. Add/improve comments and docstrings of AdmonitionPreprocessor.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    eeda054 View commit details
    Browse the repository at this point in the history
  11. Change order of methods of AdmonitionPreprocessor.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    222249f View commit details
    Browse the repository at this point in the history
  12. Refactor AdmonitionPreprocessor.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    cd33a2d View commit details
    Browse the repository at this point in the history
  13. Add support for admonitions with end marker embedded in line.

    E.g:
    some text @Endnote some more text
    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    2222e89 View commit details
    Browse the repository at this point in the history
  14. Add support for admonitions with text before start marker

    E.g:
    Some text @note Some more text.
    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    147483a View commit details
    Browse the repository at this point in the history
  15. Make sure that built-in admonition extension is deeregistered.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    2ec925e View commit details
    Browse the repository at this point in the history
  16. Add admonition extension to standard extensions included in FORD.

    Maarten Braakhekke committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    565f804 View commit details
    Browse the repository at this point in the history
  17. [skip ci] Apply black changes

    mbraakhekke authored and actions-user committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    8587b98 View commit details
    Browse the repository at this point in the history