Skip to content

Allow change source for MathJax #28

@loggerhead

Description

@loggerhead

The original MathJax source is not fast in China, maybe provide an option to replace it wound be help, like the following code:

if key == 'source':
    try:
        typeVal = isinstance(value, basestring)
    except NameError:
        typeVal = isinstance(value, str)

    if not typeVal:
        continue

    mathjax_settings[key] = "'".join(["", value.strip('\'"'), ""])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions