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

[WIP, Experimental] Runtime customization by application side. #249

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Feb 25, 2024

  1. Introduce MD_PARSER_v2.

    This version of MD_PARSER changes prototypes of callbacks enter_block(),
    leave_block(), enter_span(), leave_span() and text() so that their 1st
    argument is int instead of enumerations MD_BLOCK_TYPE, MD_SPAN_TYPE and
    MD_TEXT_TYPE respectivelly.
    
    The purpose if this is to enable introduction of new block, span and
    text type in runtime in upcoming patches.
    mity committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    a00df7d View commit details
    Browse the repository at this point in the history
  2. Implement flag MD_FLAG_SKIPBOM on parser side.

    Also update md2html to enable this on the parser side rather than
    renderer side.
    
    Make MD_HTML_FLAG_SKIP_UTF8_BOM deprecated. md_html() converts the flag
    into parser_flags.
    mity committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    ca4dd29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e93dd5 View commit details
    Browse the repository at this point in the history