Mathpix / mathpix-markdown-it

Markdown rendering + Latex extras (equations, tables, ...), with conversion features, for the scientific community
MIT License
501 stars 44 forks source link

PR into master from dev/olga/252-Load-include-a-custom-language-module-to-avoid-error-in-markdown-highlight-v1 #259

Closed OlgaRedozubova closed 1 year ago

OlgaRedozubova commented 1 year ago

branch: dev/olga/252-Load-include-a-custom-language-module-to-avoid-error-in-markdown-highlight-v1

Why:

Fixes: Load/include a custom language module to avoid error in markdown highlight #252

What's being changed:

  1. Updated highlight.js@^11.8.0 to fix #252
  2. Updated dependencies to fix security warnings:
Screen Shot 2023-07-05 at 12 18 38
  1. Rebuild for new dependencies.
  2. Updated node version in .circleci/config.yaml to use latest jsdom in tests.
  3. Added option parserErrors by default show
export enum ParserErrors {
  show = 'show',
  hide = 'hide',
  show_input = 'show_input',
};
Screen Shot 2023-07-06 at 11 51 30 Screen Shot 2023-07-06 at 11 52 13 Screen Shot 2023-07-06 at 11 49 53
  1. Set version 1.2.5