JupyterGitHub
  • Preparing search index...
  • The search index is not available
@jupyterlab
  • @jupyterlab
  • rendermime
  • removeMath

Function removeMath

  • removeMath(
        text: string,
        options?: IRenderMime.ILatexTypesetter.IMathParseOptions,
    ): { math: string[]; text: string }
  • Break up the text into its component parts and search through them for math delimiters, braces, linebreaks, etc. Math delimiters must match and braces must balance. Don't allow math to pass through a double linebreak (which will be a paragraph).

    Parameters

    • text: string
    • Optionaloptions: IRenderMime.ILatexTypesetter.IMathParseOptions

    Returns { math: string[]; text: string }

    • Defined in packages/rendermime/src/latex.ts:28

Settings

Member Visibility
JupyterGitHub
@jupyterlab
  • Loading...

Generated using TypeDoc