Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PR into master from dev/olga/Add-the-ability-to-disable-Markdown-rules #325

Merged

Conversation

OlgaRedozubova
Copy link
Contributor

@OlgaRedozubova OlgaRedozubova commented May 9, 2024

branch: dev/olga/Add-the-ability-to-disable-Markdown-rules

Fixes: 9474

  • Added options to enable render rules renderOptions.
  • Set version 1.3.6
  • Updated README

By default, or set all renderOptions to true (all rendering rules are available):

renderOptions: {
  enable_markdown: true,
  enable_latex: true,
  enable_markdown_mmd_extensions: true,
}

01-ezgif com-video-to-gif-converter (4)

Disable markdown rules. (This will also disable enable_markdown_mmd_extensions):

renderOptions: {
  enable_markdown: false
}

02-ezgif com-video-to-gif-converter (4)

Disable markdown_mmd_extensions rules. (This will disable only <smiles>...</smiles>, <ascii>...</ascii>, mathML):

renderOptions: {
  enable_markdown_mmd_extensions: false
}

Disable latex rules. (This will disable only latex and math rules):

renderOptions: {
  enable_latex: false
}

03-ezgif com-video-to-gif-converter (3)

Disable all rules.

renderOptions: {
  enable_markdown: false,
  enable_latex: false
}

04-ezgif com-video-to-gif-converter (1)

@OlgaRedozubova OlgaRedozubova self-assigned this May 9, 2024
@OlgaRedozubova OlgaRedozubova marked this pull request as ready for review May 15, 2024 13:54
@nicodjimenez nicodjimenez merged commit edf6433 into master May 15, 2024
1 check passed
@nicodjimenez nicodjimenez deleted the dev/olga/Add-the-ability-to-disable-Markdown-rules branch May 15, 2024 18:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants