Full Code of zhubch/MarkLite for AI

master a3f6dca75b66 cached
424 files
9.3 MB
2.5M tokens
3003 symbols
1 requests
Copy disabled (too large) Download .txt
Showing preview only (10,037K chars total). Download the full file to get everything.
Repository: zhubch/MarkLite
Branch: master
Commit: a3f6dca75b66
Files: 424
Total size: 9.3 MB

Directory structure:
gitextract_mtja70p5/

├── .gitattributes
├── .gitignore
├── LICENSE
├── MarkLite/
│   ├── AppDelegate.swift
│   ├── Assets.xcassets/
│   │   ├── AppIcon.appiconset/
│   │   │   └── Contents.json
│   │   ├── Contents.json
│   │   ├── PurchaseIntroHeader.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_bold.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_code.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_deleteLine.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_header.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_image.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_italic.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_keyboard.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_link.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_olist.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_quote.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_tab.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_todolist.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_ulist.imageset/
│   │   │   └── Contents.json
│   │   ├── empty_edit.imageset/
│   │   │   └── Contents.json
│   │   ├── empty_file.imageset/
│   │   │   └── Contents.json
│   │   ├── export.imageset/
│   │   │   └── Contents.json
│   │   ├── fullscreen.imageset/
│   │   │   └── Contents.json
│   │   ├── highlight.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_archive.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_box.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_cloud.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_expand.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_folder.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_forward.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_image.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_local.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_location.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_lock.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_search.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_sort.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_text.imageset/
│   │   │   └── Contents.json
│   │   ├── logo.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_back.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_edit.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_files.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_list.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_redo.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_settings.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_undo.imageset/
│   │   │   └── Contents.json
│   │   ├── preview.imageset/
│   │   │   └── Contents.json
│   │   └── style.imageset/
│   │       └── Contents.json
│   ├── Base.lproj/
│   │   ├── LaunchScreen.storyboard
│   │   └── Localizable.strings
│   ├── Core/
│   │   ├── HighlightManager.swift
│   │   ├── MarkLite-Bridging-Header.h
│   │   ├── MarkdownRender.h
│   │   ├── MarkdownRender.m
│   │   ├── NSData+MD5.h
│   │   ├── NSData+MD5.m
│   │   ├── PDFRender.swift
│   │   └── hoedown/
│   │       ├── autolink.c
│   │       ├── autolink.h
│   │       ├── buffer.c
│   │       ├── buffer.h
│   │       ├── document.c
│   │       ├── document.h
│   │       ├── escape.c
│   │       ├── escape.h
│   │       ├── hoedown_html_patch.c
│   │       ├── hoedown_html_patch.h
│   │       ├── html.c
│   │       ├── html.h
│   │       ├── html_blocks.c
│   │       ├── html_smartypants.c
│   │       ├── stack.c
│   │       ├── stack.h
│   │       ├── version.c
│   │       └── version.h
│   ├── Info.plist
│   ├── Model/
│   │   ├── Document.swift
│   │   ├── ExportActivity.swift
│   │   ├── File.swift
│   │   ├── ServerInfo.swift
│   │   ├── TOCItem.swift
│   │   └── Theme.swift
│   ├── Resource/
│   │   ├── Instructions/
│   │   │   ├── ReadMe.md
│   │   │   ├── Syntax.md
│   │   │   ├── 使用教程.md
│   │   │   ├── 数学公式.md
│   │   │   └── 示例文档.md
│   │   └── Resources/
│   │       ├── Highlight/
│   │       │   └── highlight-style/
│   │       │       ├── androidstudio.css
│   │       │       ├── codepen-embed.css
│   │       │       ├── color-brewer.css
│   │       │       ├── github.css
│   │       │       ├── monokai-sublime.css
│   │       │       ├── rainbow.css
│   │       │       ├── solarized-dark.css
│   │       │       ├── solarized-light.css
│   │       │       ├── tomorrow-night.css
│   │       │       ├── tomorrow.css
│   │       │       ├── vs.css
│   │       │       └── xcode.css
│   │       ├── MathJax/
│   │       │   ├── a11y/
│   │       │   │   ├── complexity.js
│   │       │   │   ├── explorer.js
│   │       │   │   └── semantic-enrich.js
│   │       │   ├── adaptors/
│   │       │   │   └── liteDOM.js
│   │       │   ├── core.js
│   │       │   ├── input/
│   │       │   │   ├── asciimath.js
│   │       │   │   ├── mml/
│   │       │   │   │   └── entities.js
│   │       │   │   ├── mml.js
│   │       │   │   ├── tex/
│   │       │   │   │   └── extensions/
│   │       │   │   │       ├── action.js
│   │       │   │   │       ├── all-packages.js
│   │       │   │   │       ├── ams.js
│   │       │   │   │       ├── amscd.js
│   │       │   │   │       ├── autoload.js
│   │       │   │   │       ├── bbox.js
│   │       │   │   │       ├── boldsymbol.js
│   │       │   │   │       ├── braket.js
│   │       │   │   │       ├── bussproofs.js
│   │       │   │   │       ├── cancel.js
│   │       │   │   │       ├── color.js
│   │       │   │   │       ├── colorV2.js
│   │       │   │   │       ├── configMacros.js
│   │       │   │   │       ├── enclose.js
│   │       │   │   │       ├── extpfeil.js
│   │       │   │   │       ├── html.js
│   │       │   │   │       ├── mhchem.js
│   │       │   │   │       ├── newcommand.js
│   │       │   │   │       ├── noerrors.js
│   │       │   │   │       ├── noundefined.js
│   │       │   │   │       ├── physics.js
│   │       │   │   │       ├── require.js
│   │       │   │   │       ├── tagFormat.js
│   │       │   │   │       ├── unicode.js
│   │       │   │   │       └── verb.js
│   │       │   │   ├── tex-base.js
│   │       │   │   ├── tex-full.js
│   │       │   │   └── tex.js
│   │       │   ├── latest.js
│   │       │   ├── loader.js
│   │       │   ├── mml-chtml.js
│   │       │   ├── node-main.js
│   │       │   ├── output/
│   │       │   │   ├── chtml/
│   │       │   │   │   └── fonts/
│   │       │   │   │       └── tex.js
│   │       │   │   └── chtml.js
│   │       │   ├── sre/
│   │       │   │   ├── mathmaps/
│   │       │   │   │   ├── en/
│   │       │   │   │   │   ├── functions/
│   │       │   │   │   │   │   ├── algebra.js
│   │       │   │   │   │   │   ├── elementary.js
│   │       │   │   │   │   │   ├── hyperbolic.js
│   │       │   │   │   │   │   └── trigonometry.js
│   │       │   │   │   │   ├── symbols/
│   │       │   │   │   │   │   ├── greek-capital.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold.js
│   │       │   │   │   │   │   ├── greek-mathfonts-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── greek-scripts.js
│   │       │   │   │   │   │   ├── greek-small.js
│   │       │   │   │   │   │   ├── greek-symbols.js
│   │       │   │   │   │   │   ├── hebrew_letters.js
│   │       │   │   │   │   │   ├── latin-lower-double-accent.js
│   │       │   │   │   │   │   ├── latin-lower-normal.js
│   │       │   │   │   │   │   ├── latin-lower-phonetic.js
│   │       │   │   │   │   │   ├── latin-lower-single-accent.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │   │   │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-monospace.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │   │   │   ├── latin-mathfonts-script.js
│   │       │   │   │   │   │   ├── latin-rest.js
│   │       │   │   │   │   │   ├── latin-upper-double-accent.js
│   │       │   │   │   │   │   ├── latin-upper-normal.js
│   │       │   │   │   │   │   ├── latin-upper-single-accent.js
│   │       │   │   │   │   │   ├── math_angles.js
│   │       │   │   │   │   │   ├── math_arrows.js
│   │       │   │   │   │   │   ├── math_characters.js
│   │       │   │   │   │   │   ├── math_delimiters.js
│   │       │   │   │   │   │   ├── math_digits.js
│   │       │   │   │   │   │   ├── math_geometry.js
│   │       │   │   │   │   │   ├── math_harpoons.js
│   │       │   │   │   │   │   ├── math_non_characters.js
│   │       │   │   │   │   │   ├── math_symbols.js
│   │       │   │   │   │   │   ├── math_whitespace.js
│   │       │   │   │   │   │   └── other_stars.js
│   │       │   │   │   │   └── units/
│   │       │   │   │   │       ├── energy.js
│   │       │   │   │   │       ├── length.js
│   │       │   │   │   │       ├── memory.js
│   │       │   │   │   │       ├── other.js
│   │       │   │   │   │       ├── speed.js
│   │       │   │   │   │       ├── temperature.js
│   │       │   │   │   │       ├── time.js
│   │       │   │   │   │       ├── volume.js
│   │       │   │   │   │       └── weight.js
│   │       │   │   │   ├── es/
│   │       │   │   │   │   ├── functions/
│   │       │   │   │   │   │   ├── algebra.js
│   │       │   │   │   │   │   ├── elementary.js
│   │       │   │   │   │   │   ├── hyperbolic.js
│   │       │   │   │   │   │   └── trigonometry.js
│   │       │   │   │   │   ├── symbols/
│   │       │   │   │   │   │   ├── greek-capital.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold.js
│   │       │   │   │   │   │   ├── greek-mathfonts-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── greek-scripts.js
│   │       │   │   │   │   │   ├── greek-small.js
│   │       │   │   │   │   │   ├── greek-symbols.js
│   │       │   │   │   │   │   ├── hebrew_letters.js
│   │       │   │   │   │   │   ├── latin-lower-double-accent.js
│   │       │   │   │   │   │   ├── latin-lower-normal.js
│   │       │   │   │   │   │   ├── latin-lower-phonetic.js
│   │       │   │   │   │   │   ├── latin-lower-single-accent.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │   │   │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-monospace.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │   │   │   ├── latin-mathfonts-script.js
│   │       │   │   │   │   │   ├── latin-rest.js
│   │       │   │   │   │   │   ├── latin-upper-double-accent.js
│   │       │   │   │   │   │   ├── latin-upper-normal.js
│   │       │   │   │   │   │   ├── latin-upper-single-accent.js
│   │       │   │   │   │   │   ├── math_angles.js
│   │       │   │   │   │   │   ├── math_arrows.js
│   │       │   │   │   │   │   ├── math_characters.js
│   │       │   │   │   │   │   ├── math_delimiters.js
│   │       │   │   │   │   │   ├── math_digits.js
│   │       │   │   │   │   │   ├── math_geometry.js
│   │       │   │   │   │   │   ├── math_harpoons.js
│   │       │   │   │   │   │   ├── math_non_characters.js
│   │       │   │   │   │   │   ├── math_symbols.js
│   │       │   │   │   │   │   ├── math_whitespace.js
│   │       │   │   │   │   │   └── other_stars.js
│   │       │   │   │   │   └── units/
│   │       │   │   │   │       ├── energy.js
│   │       │   │   │   │       ├── length.js
│   │       │   │   │   │       ├── memory.js
│   │       │   │   │   │       ├── other.js
│   │       │   │   │   │       ├── speed.js
│   │       │   │   │   │       ├── temperature.js
│   │       │   │   │   │       ├── time.js
│   │       │   │   │   │       ├── volume.js
│   │       │   │   │   │       └── weight.js
│   │       │   │   │   ├── fr/
│   │       │   │   │   │   ├── functions/
│   │       │   │   │   │   │   ├── algebra.js
│   │       │   │   │   │   │   ├── elementary.js
│   │       │   │   │   │   │   ├── hyperbolic.js
│   │       │   │   │   │   │   └── trigonometry.js
│   │       │   │   │   │   ├── symbols/
│   │       │   │   │   │   │   ├── greek-capital.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold.js
│   │       │   │   │   │   │   ├── greek-mathfonts-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── greek-scripts.js
│   │       │   │   │   │   │   ├── greek-small.js
│   │       │   │   │   │   │   ├── greek-symbols.js
│   │       │   │   │   │   │   ├── hebrew_letters.js
│   │       │   │   │   │   │   ├── latin-lower-double-accent.js
│   │       │   │   │   │   │   ├── latin-lower-normal.js
│   │       │   │   │   │   │   ├── latin-lower-phonetic.js
│   │       │   │   │   │   │   ├── latin-lower-single-accent.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │   │   │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-monospace.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │   │   │   ├── latin-mathfonts-script.js
│   │       │   │   │   │   │   ├── latin-rest.js
│   │       │   │   │   │   │   ├── latin-upper-double-accent.js
│   │       │   │   │   │   │   ├── latin-upper-normal.js
│   │       │   │   │   │   │   ├── latin-upper-single-accent.js
│   │       │   │   │   │   │   ├── math_angles.js
│   │       │   │   │   │   │   ├── math_arrows.js
│   │       │   │   │   │   │   ├── math_characters.js
│   │       │   │   │   │   │   ├── math_delimiters.js
│   │       │   │   │   │   │   ├── math_digits.js
│   │       │   │   │   │   │   ├── math_geometry.js
│   │       │   │   │   │   │   ├── math_harpoons.js
│   │       │   │   │   │   │   ├── math_non_characters.js
│   │       │   │   │   │   │   ├── math_symbols.js
│   │       │   │   │   │   │   ├── math_whitespace.js
│   │       │   │   │   │   │   └── other_stars.js
│   │       │   │   │   │   └── units/
│   │       │   │   │   │       ├── energy.js
│   │       │   │   │   │       ├── length.js
│   │       │   │   │   │       ├── memory.js
│   │       │   │   │   │       ├── other.js
│   │       │   │   │   │       ├── speed.js
│   │       │   │   │   │       ├── temperature.js
│   │       │   │   │   │       ├── time.js
│   │       │   │   │   │       ├── volume.js
│   │       │   │   │   │       └── weight.js
│   │       │   │   │   ├── mathmaps_ie.js
│   │       │   │   │   └── nemeth/
│   │       │   │   │       ├── functions/
│   │       │   │   │       │   ├── algebra.js
│   │       │   │   │       │   ├── elementary.js
│   │       │   │   │       │   ├── hyperbolic.js
│   │       │   │   │       │   └── trigonometry.js
│   │       │   │   │       ├── symbols/
│   │       │   │   │       │   ├── greek-capital.js
│   │       │   │   │       │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │       │   ├── greek-mathfonts-bold.js
│   │       │   │   │       │   ├── greek-mathfonts-italic.js
│   │       │   │   │       │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │       │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │       │   ├── greek-mathfonts.js
│   │       │   │   │       │   ├── greek-scripts.js
│   │       │   │   │       │   ├── greek-small.js
│   │       │   │   │       │   ├── greek-symbols.js
│   │       │   │   │       │   ├── hebrew_letters.js
│   │       │   │   │       │   ├── latin-lower-double-accent.js
│   │       │   │   │       │   ├── latin-lower-normal.js
│   │       │   │   │       │   ├── latin-lower-phonetic.js
│   │       │   │   │       │   ├── latin-lower-single-accent.js
│   │       │   │   │       │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │       │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │       │   ├── latin-mathfonts-bold.js
│   │       │   │   │       │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │       │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │       │   ├── latin-mathfonts-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-monospace.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │       │   ├── latin-mathfonts-script.js
│   │       │   │   │       │   ├── latin-rest.js
│   │       │   │   │       │   ├── latin-upper-double-accent.js
│   │       │   │   │       │   ├── latin-upper-normal.js
│   │       │   │   │       │   ├── latin-upper-single-accent.js
│   │       │   │   │       │   ├── math_angles.js
│   │       │   │   │       │   ├── math_arrows.js
│   │       │   │   │       │   ├── math_characters.js
│   │       │   │   │       │   ├── math_delimiters.js
│   │       │   │   │       │   ├── math_digits.js
│   │       │   │   │       │   ├── math_geometry.js
│   │       │   │   │       │   ├── math_harpoons.js
│   │       │   │   │       │   ├── math_non_characters.js
│   │       │   │   │       │   ├── math_symbols.js
│   │       │   │   │       │   ├── math_whitespace.js
│   │       │   │   │       │   └── other_stars.js
│   │       │   │   │       └── units/
│   │       │   │   │           ├── energy.js
│   │       │   │   │           ├── length.js
│   │       │   │   │           ├── memory.js
│   │       │   │   │           ├── other.js
│   │       │   │   │           ├── speed.js
│   │       │   │   │           ├── temperature.js
│   │       │   │   │           ├── time.js
│   │       │   │   │           ├── volume.js
│   │       │   │   │           └── weight.js
│   │       │   │   └── sre_browser.js
│   │       │   ├── startup.js
│   │       │   ├── tex-chtml-full.js
│   │       │   ├── tex-chtml.js
│   │       │   ├── tex-mml-chtml.js
│   │       │   └── ui/
│   │       │       └── menu.js
│   │       └── Styles/
│   │           ├── Clearness Dark.css
│   │           ├── Clearness.css
│   │           ├── Fresh.css
│   │           ├── GitHub Dark.css
│   │           ├── GitHub.css
│   │           ├── Standard.css
│   │           └── WeChat.css
│   ├── StoryBoard/
│   │   ├── Edit.storyboard
│   │   ├── Main.storyboard
│   │   └── Settings.storyboard
│   ├── Utils/
│   │   ├── ActivityIndicator.swift
│   │   ├── Configure.swift
│   │   ├── Constant.swift
│   │   ├── IAPHelper.swift
│   │   ├── ImagePicker.swift
│   │   ├── Localization.swift
│   │   ├── MDURLProtocol.h
│   │   ├── MDURLProtocol.m
│   │   ├── NSURLProtocol+WKWebVIew.h
│   │   ├── NSURLProtocol+WKWebVIew.m
│   │   ├── Utils.swift
│   │   └── WKWebView+Snapshot.swift
│   ├── View/
│   │   ├── BaseTableViewCell.swift
│   │   ├── KeyboardBar.swift
│   │   ├── MenuView.swift
│   │   ├── RecentImageCell.swift
│   │   ├── Seperator.swift
│   │   └── TextView.swift
│   ├── ViewController/
│   │   ├── AppearanceViewController.swift
│   │   ├── CustomStyleViewController.swift
│   │   ├── EditViewController.swift
│   │   ├── FileSharingViewController.swift
│   │   ├── FilesViewController.swift
│   │   ├── HomeViewController.swift
│   │   ├── NavigationViewController.swift
│   │   ├── OptionsViewController.swift
│   │   ├── PreviewViewController.swift
│   │   ├── PurchaseViewController.swift
│   │   ├── RecentImagesViewController.swift
│   │   ├── SettingsViewController.swift
│   │   ├── TextViewController.swift
│   │   ├── TocListViewController.swift
│   │   └── WebViewController.swift
│   ├── en.lproj/
│   │   ├── LaunchScreen.strings
│   │   └── Localizable.strings
│   ├── public.pem
│   └── zh-Hans.lproj/
│       └── Localizable.strings
├── Markdown.entitlements
├── Markdown.xcodeproj/
│   ├── project.pbxproj
│   ├── project.xcworkspace/
│   │   └── contents.xcworkspacedata
│   └── xcshareddata/
│       └── xcschemes/
│           └── Markdown.xcscheme
├── Markdown.xcworkspace/
│   ├── contents.xcworkspacedata
│   └── xcshareddata/
│       └── IDEWorkspaceChecks.plist
├── Podfile
└── README.md

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitattributes
================================================
*.c linguist-language=Swift

================================================
FILE: .gitignore
================================================
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xcuserstate
# *.xcworkspace/
node_modules/

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
Pods/



================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. [http://fsf.org/]
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.


================================================
FILE: MarkLite/AppDelegate.swift
================================================
//
//  AppDelegate.swift
//  Markdown
//
//  Created by zhubch on 2017/6/20.
//  Copyright © 2017年 zhubch. All rights reserved.
//

import UIKit
import RxSwift
import Bugly
import Alamofire
import StoreKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    
    static var shared: AppDelegate!

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        AppDelegate.shared = self
        #if DEBUG

        #else
            UMConfigure.initWithAppkey(umengKey, channel: "App Store")
            Bugly.start(withAppId: buglyId)
        #endif
        
        UIView.initializeOnceMethod()
        initialFolders()
        checkAppStore()
        setup()
        MDURLProtocol.startRegister()
        _ = IAPHelper.sharedInstance
        return true
    }
    
    func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
        var fileURL = url
        if url.path.contains(inboxPath) {
            let fileName = url.lastPathComponent
            let newPath = documentPath + "/" + fileName
            let newURL = URL(fileURLWithPath: newPath.validPath)
            try! FileManager.default.moveItem(at: url, to: newURL)
            fileURL = newURL
        }
        if window?.rootViewController?.isViewLoaded ?? false {
            NotificationCenter.default.post(name: Notification.Name("RecievedNewFile"), object: fileURL)
        } else {
            Timer.runThisAfterDelay(seconds: 0.5) {
                NotificationCenter.default.post(name: Notification.Name("RecievedNewFile"), object: fileURL)
            }
        }
        return true
    }

    func applicationDidEnterBackground(_ application: UIApplication) {
        Configure.shared.save()
    }

    func applicationWillTerminate(_ application: UIApplication) {
        Configure.shared.save()
    }
    
    func initialFolders() {
        try? FileManager.default.createDirectory(atPath: externalPath, withIntermediateDirectories: true, attributes: nil)
        try? FileManager.default.removeItem(atPath: tempPath)
        try? FileManager.default.createDirectory(atPath: tempPath, withIntermediateDirectories: true, attributes: nil)
    }
    
    func setup() {
        let navigationBar = UINavigationBar.appearance()
        navigationBar.isTranslucent = false
        Configure.shared.setup()
        
        _ = Configure.shared.theme.asObservable().subscribe(onNext: { (theme) in
            ColorCenter.shared.theme = theme
            self.window?.tintColor = ColorCenter.shared.tint.value
            if theme == .black {
                if Configure.shared.markdownStyle.value == "GitHub" {
                    Configure.shared.markdownStyle.value = "GitHub Dark"
                }
                if Configure.shared.highlightStyle.value == "tomorrow" {
                    Configure.shared.highlightStyle.value = "tomorrow-night"
                }
            } else {
                if Configure.shared.markdownStyle.value == "GitHub Dark" {
                    Configure.shared.markdownStyle.value = "GitHub"
                }
                if Configure.shared.highlightStyle.value == "tomorrow-night" {
                    Configure.shared.highlightStyle.value = "tomorrow"
                }
            }
        })
        
        _ = Configure.shared.darkOption.asObservable().subscribe(onNext: { (darkOption) in
            var value = Configure.shared.theme.value
            switch darkOption {
                case .dark:
                    value = .black
                case .light:
                    if value == .black {
                        value = .white
                    }
                case .system:
                    if #available(iOS 13.0, *) {
                        if UITraitCollection.current.userInterfaceStyle == .dark {
                            value = .black
                        } else if Configure.shared.theme.value == .black {
                            value = .white
                        }
                    } else {
                        ActivityIndicator.showError(withStatus: "Only Work on iPad OS / iOS 13")
                    }
            }
            if Configure.shared.theme.value != value {
                Configure.shared.theme.value = value
            }
        })
        
        if #available(iOS 10.3, *) {
            let interval = Date().timeIntervalSince(Configure.shared.rateAlertDate)
            if interval > 3600 * 24 * 20 {
                Configure.shared.rateAlertDate = Date()
                Timer.runThisAfterDelay(seconds: 10) {
                    SKStoreReviewController.requestReview()
                }
            }
        }
    }
    
    private func checkAppStore() {
        var localizations = ""
        if Bundle.main.preferredLocalizations.first == "zh-Hans" {
            localizations = "cn/"
        }
        guard let url = try? "https://itunes.apple.com/\(localizations)lookup?id=\(appID)".asURL() else {
            return
        }
        request(url).responseJSON { response in
//            print(response.result.value ?? "")
            if let dic = response.result.value as? [String:Any] {
                self.showNewVersionAlert(requestData: dic)
            }
        }
    }
    
    private func showNewVersionAlert(requestData : [String:Any]) {
        guard let resultsDic = (requestData["results"] as? [Any])?.first as? [String:Any] else { return }
        let version = resultsDic["version"] as! NSString
        let oldVersion = Bundle.main.infoDictionary!["CFBundleShortVersionString"] as! NSString
        
        guard let versionInt = Int(version.replacingOccurrences(of: ".", with: "")), let oldVersionInt = Int(oldVersion.replacingOccurrences(of: ".", with: "")) else {
            return
        }
        
        if oldVersionInt >= versionInt {
            return
        }
        
        let trackName = resultsDic["trackName"] as! String
        let trackViewUrl = resultsDic["trackViewUrl"] as! String
        let releaseNotes = resultsDic["releaseNotes"] as! String
        
        if !releaseNotes.hasPrefix("#") {
            return
        }
        
        let alert = UIAlertController(title: trackName, message: releaseNotes, preferredStyle: UIAlertControllerStyle.alert)
        let ation = UIAlertAction(title: /"Cancel", style: UIAlertActionStyle.default) { (at) in
            
        }
        let ation1 = UIAlertAction(title: /"Upgrade", style: UIAlertActionStyle.default) { (at) in
            let url = URL(string: trackViewUrl)!
            UIApplication.shared.open(url, options: [:], completionHandler: nil)
        }
        alert.addAction(ation)
        alert.addAction(ation1)
        self.window?.rootViewController?.present(alert, animated: true, completion: nil)
    }
}


================================================
FILE: MarkLite/Assets.xcassets/AppIcon.appiconset/Contents.json
================================================
{
    "images": [
        {
            "size": "20x20",
            "idiom": "iphone",
            "filename": "icon-20@2x.png",
            "scale": "2x"
        },
        {
            "size": "20x20",
            "idiom": "iphone",
            "filename": "icon-20@3x.png",
            "scale": "3x"
        },
        {
            "size": "29x29",
            "idiom": "iphone",
            "filename": "icon-29.png",
            "scale": "1x"
        },
        {
            "size": "29x29",
            "idiom": "iphone",
            "filename": "icon-29@2x.png",
            "scale": "2x"
        },
        {
            "size": "29x29",
            "idiom": "iphone",
            "filename": "icon-29@3x.png",
            "scale": "3x"
        },
        {
            "size": "40x40",
            "idiom": "iphone",
            "filename": "icon-40@2x.png",
            "scale": "2x"
        },
        {
            "size": "40x40",
            "idiom": "iphone",
            "filename": "icon-40@3x.png",
            "scale": "3x"
        },
        {
            "size": "57x57",
            "idiom": "iphone",
            "filename": "icon-57.png",
            "scale": "1x"
        },
        {
            "size": "57x57",
            "idiom": "iphone",
            "filename": "icon-57@2x.png",
            "scale": "2x"
        },
        {
            "size": "60x60",
            "idiom": "iphone",
            "filename": "icon-60@2x.png",
            "scale": "2x"
        },
        {
            "size": "60x60",
            "idiom": "iphone",
            "filename": "icon-60@3x.png",
            "scale": "3x"
        },
        {
            "size": "20x20",
            "idiom": "ipad",
            "filename": "icon-20-ipad.png",
            "scale": "1x"
        },
        {
            "size": "20x20",
            "idiom": "ipad",
            "filename": "icon-20@2x-ipad.png",
            "scale": "2x"
        },
        {
            "size": "29x29",
            "idiom": "ipad",
            "filename": "icon-29-ipad.png",
            "scale": "1x"
        },
        {
            "size": "29x29",
            "idiom": "ipad",
            "filename": "icon-29@2x-ipad.png",
            "scale": "2x"
        },
        {
            "size": "40x40",
            "idiom": "ipad",
            "filename": "icon-40.png",
            "scale": "1x"
        },
        {
            "size": "40x40",
            "idiom": "ipad",
            "filename": "icon-40@2x.png",
            "scale": "2x"
        },
        {
            "size": "50x50",
            "idiom": "ipad",
            "filename": "icon-50.png",
            "scale": "1x"
        },
        {
            "size": "50x50",
            "idiom": "ipad",
            "filename": "icon-50@2x.png",
            "scale": "2x"
        },
        {
            "size": "72x72",
            "idiom": "ipad",
            "filename": "icon-72.png",
            "scale": "1x"
        },
        {
            "size": "72x72",
            "idiom": "ipad",
            "filename": "icon-72@2x.png",
            "scale": "2x"
        },
        {
            "size": "76x76",
            "idiom": "ipad",
            "filename": "icon-76.png",
            "scale": "1x"
        },
        {
            "size": "76x76",
            "idiom": "ipad",
            "filename": "icon-76@2x.png",
            "scale": "2x"
        },
        {
            "size": "83.5x83.5",
            "idiom": "ipad",
            "filename": "icon-83.5@2x.png",
            "scale": "2x"
        },
        {
            "size": "1024x1024",
            "idiom": "ios-marketing",
            "filename": "icon-1024.png",
            "scale": "1x"
        }
    ],
    "info": {
        "version": 1,
        "author": "icon.wuruihong.com"
    }
}

================================================
FILE: MarkLite/Assets.xcassets/Contents.json
================================================
{
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/PurchaseIntroHeader.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "PurchaseIntroHeader@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_bold.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_bold@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_code.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_code@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_deleteLine.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_deleteLine@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_header.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_header@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_image.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_image@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_italic.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_italic@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_keyboard.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_keyboard@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_link.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_link@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_olist.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_olist@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_quote.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_quote@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_tab.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "tab@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_todolist.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_todolist@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/bar_ulist.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "bar_ulist@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/empty_edit.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "empty_edit@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/empty_file.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "empty_folder@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/export.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "export@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/fullscreen.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "fullscreen@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/highlight.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "filename" : "highlight@2x.png",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_archive.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_archive@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_box.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_box_empty@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_cloud.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_cloud@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_expand.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_expand@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_folder.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_folder@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_forward.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_forward@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_image.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_image@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_local.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_local@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_location.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_location@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_lock.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_lock@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_search.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_search@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_sort.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_sort@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/icon_text.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon_text@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/logo.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "icon-60@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/nav_back.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "back (6).png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/nav_edit.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "edit (2).png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/nav_files.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "nav_files.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/nav_list.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "nav_list@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/nav_redo.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "redo.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/nav_settings.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "menu (3).png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/nav_undo.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "undo.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/preview.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "preview@3x.png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Assets.xcassets/style.imageset/Contents.json
================================================
{
  "images" : [
    {
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "idiom" : "universal",
      "filename" : "theme (1).png",
      "scale" : "3x"
    }
  ],
  "info" : {
    "version" : 1,
    "author" : "xcode"
  }
}

================================================
FILE: MarkLite/Base.lproj/LaunchScreen.storyboard
================================================
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="0Hq-kN-fzX">
    <device id="retina6_1" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15510"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <scenes>
        <!--View Controller-->
        <scene sceneID="dKI-Fd-e1H">
            <objects>
                <viewController id="0Hq-kN-fzX" sceneMemberID="viewController">
                    <view key="view" contentMode="scaleToFill" id="WeK-tN-cmZ">
                        <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <subviews>
                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Markdown" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YWd-YL-dzs">
                                <rect key="frame" x="0.0" y="424" width="414" height="48"/>
                                <fontDescription key="fontDescription" name="SavoyeLetPlain" family="Savoye LET" pointSize="40"/>
                                <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
                                <nil key="highlightedColor"/>
                            </label>
                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="# Read &amp; Write Markdown" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c19-s5-O0g">
                                <rect key="frame" x="107.5" y="522" width="199" height="21"/>
                                <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
                                <nil key="highlightedColor"/>
                            </label>
                        </subviews>
                        <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
                        <constraints>
                            <constraint firstItem="7sy-lR-mvo" firstAttribute="trailing" secondItem="YWd-YL-dzs" secondAttribute="trailing" id="2NG-63-xSF"/>
                            <constraint firstItem="YWd-YL-dzs" firstAttribute="leading" secondItem="7sy-lR-mvo" secondAttribute="leading" id="GTQ-Va-5Su"/>
                            <constraint firstItem="c19-s5-O0g" firstAttribute="top" secondItem="YWd-YL-dzs" secondAttribute="bottom" constant="50" id="JxJ-W3-sUi"/>
                            <constraint firstItem="YWd-YL-dzs" firstAttribute="centerY" secondItem="WeK-tN-cmZ" secondAttribute="centerY" id="Se5-kZ-lc9"/>
                            <constraint firstItem="c19-s5-O0g" firstAttribute="centerX" secondItem="7sy-lR-mvo" secondAttribute="centerX" id="zRq-pO-hYh"/>
                        </constraints>
                        <viewLayoutGuide key="safeArea" id="7sy-lR-mvo"/>
                    </view>
                </viewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="vlS-kR-Umx" userLabel="First Responder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="53" y="375"/>
        </scene>
    </scenes>
</document>


================================================
FILE: MarkLite/Base.lproj/Localizable.strings
================================================
/*
 Localizable.strings
 Markdown
 
 Created by zhubch on 2017/8/21.
 Copyright © 2017年 zhubch. All rights reserved.
 */

"Documents"="Documents";

"Cloud"="iCloud";
"Local"="Local";
"External"="Files From Other App";
"ExternalEmpty"="Pick Files From Other App";
"AddLocation"="Add Locations";
"AddLocationDetail"="From [Files]";
"MoveTo"="Move To";
"Search"="Search";

"ImportFile"="Copy to Local";
"OpenInPlace"="Open In Place";

"SortOptions"="Sort Options";
"SortByName"="Sort By Name";
"SortByType"="Sort By Type";
"SortByModifyDate"="Sort By Modify Date";

"EmptyFolder"="There folder is empty";
"EmptyInbox"="Files from other app will show here\n you can import files by click the top-right button";

"Today"="Today";
"Yesterday"="Yesterday";
"Children"="Items";
"Empty"="Empty";
"M-d"="MM/dd";
"yyyy-M-d"="yyyy/MM/dd";

"CreateTips"="Create note or folder";
"RenameTips"="Rename file";
"CreateImageTips"="Copy image to local, name the image please";
"CreateImage"="Create Image";
"CreateNote"="Create Note";
"CreateFolder"="Create Folder";
"MultipleSelect"="Multiple Select";
"SelectAll"="Select All";

"Delete"="Delete";
"Rename"="Rename";
"Move"="Move";
"Send"="Send To";
"SelectFolderToMove"="Select a destination folder";

"Untitled"="Untitled";
"UntitledFolder"="Untitled Folder";

"Preview"="Preview";
"Undo"="Undo";
"Redo"="Redo";
"Characters"="Characters";

"ImageUploadTips"="Choose the reference method of image";
"ImageStorageTips"="You can save your method of inserting images in [Settings]";
"FileOpenTips"="You can custom open file mode(edit/preview) in [Settings]";
"AutoSaveFailedTips"="Can save to file now, file content have been copied to pasteboard.";

"PDF"="PDF";
"WebPage"="HTML";
"Image"="PNG";
"Markdown"="Export as Text";
"CopiedAddress"="Copied Address";

"Settings"="Settings";
"Appearance"="Appearance";
"FileSharing"="File Sharing";
"ArrangeKeyboardBar"="Arrange Keyboard Bar";
"AssistKeyboard"="Enable Keyboard Bar";
"ImpactFeedback"="Impact Feedback";
"ShowExtensionName"="Show File's Extension";
"SplitOptions"="Split Options";
"ImageStorage"="Image Storage";
"NightMode"="Dark Mode Options";
"DarkAppIcon"="Dark App Icon";
"FileOpenOption"="File Open Mode";
"Theme"="Theme";
"Contact"="Contact us";
"RateIt"="Rate it";
"Style"="Markdown Style";
"CSS"="Custom Style";
"FontSize"="Font Size";
"ContentInset"="Content Inset";
"CodeStyle"="Code Highlight";
"AutomaticSplit"="Automatic Split";
"AutoHideNavigationBar"="Auto Hide Navigation Bar";
"TOC"="TOC";

"FileOpenOptionEdit"="Edit";
"FileOpenOptionPreview"="Preview";

"ImageStorageLocal"="Local Reference";
"ImageStorageRemote"="Upload Image";
"ImageStorageAsk"="Ask Each Time";

"FollowSystem"="Follow System";
"KeepDarkMode"="Always Dark";
"DisableDarkMode"="Always Light";

"InvalidStyleURL"="Invalid Style URL";
"InvalidStyleName"="Invalid Style Name";
"DumplicatedName"="Dumplicated Style Name";
"StyleName"="Style Name";
"StyleURL"="CSS URL";
"Download"="Download";

"ServerLoading"="Starting...";
"ServerStarted"="Server Started!\nOpen the URL in your computer browser:";
"ServerNotRunning"="Server Not Running";
"Log"="Log:";

"ContactMessage"="If you have any suggestions or questions about this app, feel free to tell me please.";
"Email"="Email";

"OK"="OK";
"Close"="Close";
"Cancel"="Cancel";
"Upgrade"="Upgrade";

"DeleteMessage"="Sure you want to delete the selected file(s)? This action cannot be undone!";
"ClearMessage"="Sure you want to clear all images? This action cannot be undone!";
"CanNotAccesseThisFile"="Can Not Accesse This File";
"CanNotPreviewThisFile"="Can Not Preview This File";
"CanNotOperateThisFile"="Can Not Operate This File";
"NoEditingFile"="No document being edited";
"FileNameError"="Invalid file name";
"FileNamePlaceHolder"="Name may NOT contains (./*~)";
"ConnectWifiTips"="Connect to Wi-Fi first please!";
"UnzipFailed"="Unzip Failed";

"InsertHref"="Insert href";

"Open"="Open it";
"Ignore"="Ignore";
"ReceivedNewFile"="Received New File:";

"Error"="Error";

"Header"="Header";
"Header1"="Header 1";
"Header2"="Header 2";
"Header3"="Header 3";
"Header4"="Header 4";
"StrongText"="Strong text";
"EmphasizedText"="Emphasized text";
"Blockquote"="Blockquote";
"Delection"="Delection";
"EnterCode"="Enter code here";
"EnterLink"="Link description";
"Alt"="Alt";

"Clear"="Clear";
"Recent"="Recents";
"PickFromPhotos"="Open Photos";
"PickFromCamera"="Open Camera";
"Completed"="Completed";
"Uncompleted"="Uncompleted";

"CameraError"="Can Not Access Your Camera";
"PhotoError"="Can Not Access Your Photos";
"EnableCameraTips"="Tap \"settings\" icon, find and tap \"privacy\", tap \"Camera\", find \"Markdown\" and enable it.";
"EnablePhotoTips"="Tap \"settings\" icon, find and tap \"privacy\", tap \"Photos\", find \"Markdown\" and enable it.";

"ThemeWhite"="White";
"ThemeBlack"="Dark";
"ThemeBlue"="Blue";
"ThemeRed"="Red";
"ThemePurple"="Purple";
"ThemePink"="Pink";
"ThemeGreen"="Green";

"PremiumOnly"="Upgrade to Pro to Unlock This Feature";
"PremiumTips"="Every new user has 3-days free trial";
"SubscribeNow"="View detail";
"Expire"="Expires At";

"Premium"="Premium";
"Terms"="Terms Of Use";
"Privacy"="Privacy Policy";

"SubscribeMonthly"="Monthly Pro: $0.99";
"SubscribeYearly"="Yearly Pro: $4.99";
"LifetimePremium"="Lifetime Pro: $9.99";

"PurchaseMonthly"="Continue";
"PurchaseYearly"="Continue";
"PurchaseForever"="Continue";
"Subscribed"="Subscribed";

"MonthlyTips"="Subscription can be canceled at any time";
"YearlyTips"="Try 1 week for free, then $4.99/year";
"ForeverTips"="Unlock all the features forever";

"SubscriptionTitle"="Upgrade to Markdown Pro to unlock all features:\n• 📤Export markdown as PDF,HTML,JPG\n• 💻Share files with PC via Wi-Fi\n• ☁️Sync files between all your devices\n• 🛍️More features in future versions";

"SubscribeTips"="[Pro Subscription]\n\n• The duration of every period of Monthly Subscription is 1 month, The duration of every period of Yearly Subscription is 1 year\n\n• Payment will be charged to iTunes Account at confirmation of purchase\n\n• Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period\n\n• Account will be charged for renewal within 24-hours prior to the end of the current period, and identify the cost of the renewal\n\n• Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user's Account Settings after purchase\n\n• Any unused portion of a free trial period, if offered, will be forfeited when the user purchases a subscription to that publication, where applicable\n\n• The Price of monthly subscription of every period is $0.99 USD, The Price of yearly subscription of every period is $4.99 USD";
"Restore"="Restore";

"SubscribeFailed"="Purchase Failed";
"SubscribeSuccess"="Purchase Success";
"RestoreFailed"="No Valid Purchases Found";
"RestoreSuccess"="Restore Purchases Success";

"Instructions"="ReadMe";
"Syntax"="Syntax";

"Tips"="Tips";
"GotIt"="Got it!";
"Restart"="Restart APP";
"SlideTips"="Slide the edit view left can quick preview your note";


================================================
FILE: MarkLite/Core/HighlightManager.swift
================================================
//
//  Syntax.swift
//  Markdown
//
//  Created by zhubch on 2017/7/1.
//  Copyright © 2017年 zhubch. All rights reserved.
//

import UIKit

let paragraphStyle = { () -> NSMutableParagraphStyle in
    let paraStyle = NSMutableParagraphStyle()
    paraStyle.maximumLineHeight = 23
    paraStyle.minimumLineHeight = 23
    paraStyle.lineSpacing = 3
    return paraStyle
}()

class HighlightStyle {
    static var boldFont = UIFont.monospacedDigitSystemFont(ofSize: CGFloat(Configure.shared.fontSize.value), weight: UIFont.Weight.medium)
    static var normalFont = UIFont.monospacedDigitSystemFont(ofSize: CGFloat(Configure.shared.fontSize.value), weight: UIFont.Weight.regular)
    
    var textColor: UIColor = Configure.shared.theme.value == .black ? rgb(200,200,190) : rgb(54,54,64)
    var backgroundColor: UIColor = .clear
    var italic: Bool = false
    var bold: Bool = false
    var deletionLine: Bool = false

    var attrs: [NSAttributedStringKey : Any] {
        
        return [NSAttributedStringKey.font : bold ? HighlightStyle.boldFont : HighlightStyle.normalFont,
                NSAttributedStringKey.obliqueness : italic ? 0.3 : 0,
                NSAttributedStringKey.foregroundColor : textColor,
                NSAttributedStringKey.backgroundColor : backgroundColor,
                NSAttributedStringKey.strikethroughStyle : deletionLine ? NSUnderlineStyle.styleSingle.rawValue :  NSUnderlineStyle.styleNone.rawValue,
                NSAttributedStringKey.strikethroughColor : textColor,
                NSAttributedStringKey.paragraphStyle : paragraphStyle
        ]
    }
}

struct Syntax {
    let expression: NSRegularExpression
    let style: HighlightStyle = HighlightStyle()
    
    init(_ pattern: String, _ options: NSRegularExpression.Options = .caseInsensitive, _ styleConfigure: (HighlightStyle)->Void = {_ in }) {
        expression = try! NSRegularExpression(pattern: pattern, options: options)
        styleConfigure(style)
    }
}

struct MarkdownHighlightManager {
            
    let syntaxArray: [Syntax] = [
        Syntax("^#{1,6} .*", .anchorsMatchLines) {
            $0.bold = true
            $0.textColor = Configure.shared.theme.value == .black ? rgb(240,240,240) : rgb(89,89,184)
        },//header
        Syntax("^.*\\n={2,}$", .anchorsMatchLines) {
            $0.bold = true
            $0.textColor = Configure.shared.theme.value == .black ? rgb(240,240,240) : rgb(89,89,184)
        },//Title1
        Syntax("^.*\\n-{2,}$", .anchorsMatchLines) {
            $0.bold = true
            $0.textColor = Configure.shared.theme.value == .black ? rgb(240,240,240) : rgb(89,89,184)
        },//Title2
        Syntax("^[\\s]*(-|\\*|\\+|([0-9]+\\.)) ", .anchorsMatchLines){
            $0.textColor = rgb(236,90,103)
        },//Lists
        Syntax("- \\[( |x)\\] .*",.anchorsMatchLines){
            $0.textColor = rgb(6,82,120)
        },//TodoList
        Syntax("(\\[.+\\]\\([^\\)]+\\))|(<.+>)") {
            $0.textColor = rgb(66,110,179)
        },//Links
        Syntax("!\\[[^\\]]+\\]\\([^\\)]+\\)") {
            $0.textColor = rgb(50,90,170)
        },//Images
        Syntax("(\\*|_)[^*`\\n\\s]([^*`\\n]*)(\\*|_)") {
            $0.textColor = Configure.shared.theme.value == .black ? rgb(210,200,190) : rgb(23,27,33)
            $0.italic = true
        },//Emphasis
        Syntax("(\\*\\*|__)[^*`\\n\\s]([^*`\\n]*)(\\*\\*|__)") {
            $0.textColor = Configure.shared.theme.value == .black ? rgb(210,200,190) : rgb(23,27,33)
            $0.bold = true
        },//Bold
        Syntax("~~[^~`\\n\\s]([^~`\\n]*)~~") {
            $0.textColor = rgb(129,140,140)
            $0.deletionLine = true
        },//Deletions
        Syntax("==[^=`\\n\\s]([^=`\\n]*)==") {
            $0.textColor = rgb(54,54,64)
            $0.backgroundColor = rgb(240,240,20)
        },//Highlight
        Syntax("\\$([^`\\n\\$]+)\\$") {
            $0.textColor = rgb(139,69,19)
            $0.backgroundColor = Configure.shared.theme.value == .black ? rgb(50,50,50) : rgb(246,246,246)
        },//数学公式
        Syntax("\\$\\$([^`\\$]+?)[\\s\\S]*?\\$\\$[\\s]?",.anchorsMatchLines) {
            $0.textColor = rgb(139,69,19)
            $0.backgroundColor = Configure.shared.theme.value == .black ? rgb(50,50,50) : rgb(246,246,246)
        },//多行数学公式
        Syntax("\\:\\\"(.*?)\\\"\\:"),//Quotes
        Syntax("`{1,2}[^`](.*?)`{1,2}") {
            $0.textColor = rgb(71,91,98)
            $0.backgroundColor = Configure.shared.theme.value == .black ? rgb(50,50,50) : rgb(246,246,246)
        },//InlineCode
        Syntax("^[ \\t]*(\\>)(.*)\n",.anchorsMatchLines) {
            $0.textColor = rgb(129,140,140)
        },//Blockquotes://引用块
        Syntax("^([-\\+\\*]\\s?){3,}\n", .anchorsMatchLines){
            $0.bold = true
            $0.textColor = rgb(89,89,184)
        },//Separate://分割线
        Syntax("^[ \\t]*\\n```([\\s\\S]*?)```[\\s]?",.anchorsMatchLines) {
            $0.textColor = rgb(71,91,98)
            $0.backgroundColor = Configure.shared.theme.value == .black ? rgb(50,50,50) : rgb(246,246,246)
        },//CodeBlock```包围的代码块
        Syntax("^[ \\t]*(\\n( {4}|\\t).+)+[\\s]?",.anchorsMatchLines) {
            $0.textColor = rgb(71,91,98)
            $0.backgroundColor = Configure.shared.theme.value == .black ? rgb(50,50,50) : rgb(246,246,246)
        },//ImplicitCodeBlock4个缩进也算代码块
    ]

    func highlight(_ text: NSTextStorage, visibleRange: NSRange?) {
        let len = (text.string as NSString).length
        var validRange = NSRange(location:0, length: len)
        if let visibleRange = visibleRange  {
            let begin = max(visibleRange.location - visibleRange.length * 2, 0)
            let end = min(visibleRange.location + visibleRange.length * 3, len)
            validRange.location = begin
            validRange.length = end - begin
        }
        
        let nomarlColor = Configure.shared.theme.value == .black ? rgb(160,160,160) : rgb(54,54,64)
 
        text.setAttributes([NSAttributedStringKey.font : HighlightStyle.normalFont,
                              NSAttributedStringKey.paragraphStyle : paragraphStyle,
                              NSAttributedStringKey.foregroundColor : nomarlColor], range: validRange)
        syntaxArray.forEach { (syntax) in
            syntax.expression.enumerateMatches(in: text.string, options: .reportCompletion, range: validRange, using: { (match, _, _) in
                if let range = match?.range {
                    text.addAttributes(syntax.style.attrs, range: range)
                }
            })
        }
    }
}


================================================
FILE: MarkLite/Core/MarkLite-Bridging-Header.h
================================================
//
//  Markdown-Bridging-Header.h
//  Markdown
//
//  Created by zhubch on 2017/7/3.
//  Copyright © 2017年 zhubch. All rights reserved.
//

#ifndef Markdown_Bridging_Header_h
#define Markdown_Bridging_Header_h

#import <Foundation/Foundation.h>
#import <UMCommon/UMCommon.h>
#import <UMAnalytics/MobClick.h>
#import <GCDWebServer/GCDWebUploader.h>
#import "MDURLProtocol.h"
#import "MarkdownRender.h"
#import "NSData+MD5.h"

#endif /* Markdown_Bridging_Header_h */


================================================
FILE: MarkLite/Core/MarkdownRender.h
================================================
//
//  MarkdownRender.h
//  Markdown
//
//  Created by 朱炳程 on 2019/9/6.
//  Copyright © 2019 zhubch. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MarkdownRender : NSObject

@property (nonatomic,strong) NSString *styleName;
@property (nonatomic,strong) NSString *highlightName;
@property (nonatomic,strong) NSString *title;
@property (nonatomic,assign) NSInteger fontSize;

+ (instancetype)shared;

- (NSString*)renderMarkdown:(NSString*)markdown;

- (NSString*)tocHeader:(NSString*)markdown;

@end


================================================
FILE: MarkLite/Core/MarkdownRender.m
================================================
//
//  MarkdownRender.m
//  Markdown
//
//  Created by 朱炳程 on 2019/9/6.
//  Copyright © 2019 zhubch. All rights reserved.
//

#import "MarkdownRender.h"
#import <limits.h>
#import "document.h"
#import "html.h"
#import "hoedown_html_patch.h"

#define kResourceURL [NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES).firstObject stringByAppendingPathComponent:@"Resources"]

#define kTemplate @"<!DOCTYPE html>\
<html style='font-size:%ldpx'>\
<head>\
  <meta charset=UTF-8>\
  <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no'>\
  <title>%@</title>\
  %@\
  %@\
  <script>hljs.initHighlightingOnLoad();</script>\
  <script type='text/x-mathjax-config'>MathJax.Hub.Config({'showProcessingMessages': false, 'messageStyle': 'none'});</script>\
</head>\
<body>\
  %@\
<script>window.webkit.messageHandlers.TextLoaded.postMessage('TextLoaded')</script>\
</body>\
</html>"

NS_INLINE hoedown_renderer *MPCreateHTMLRenderer(int flags)
{
    hoedown_renderer *htmlRenderer = hoedown_html_renderer_new(flags, 6);
    htmlRenderer->listitem = hoedown_patch_render_listitem;
    return htmlRenderer;
}

NS_INLINE hoedown_renderer *MPCreateHTMLTOCRenderer()
{
    hoedown_renderer *tocRenderer =
    hoedown_html_toc_renderer_new(6);
    tocRenderer->header = hoedown_patch_render_toc_header;
    return tocRenderer;
}

NS_INLINE NSString *MPHTMLFromMarkdown(NSString *text,
                                       int flags,
                                       BOOL smartypants,
                                       hoedown_renderer *htmlRenderer,
                                       hoedown_renderer *tocRenderer)
{
    NSData *inputData = [text dataUsingEncoding:NSUTF8StringEncoding];
    hoedown_document *document = hoedown_document_new(htmlRenderer, flags, SIZE_MAX);
    hoedown_buffer *ob = hoedown_buffer_new(64);
    hoedown_document_render(document, ob, inputData.bytes, inputData.length);
    if (smartypants)
    {
        hoedown_buffer *ib = ob;
        ob = hoedown_buffer_new(64);
        hoedown_html_smartypants(ob, ib->data, ib->size);
        hoedown_buffer_free(ib);
    }
    NSString *result = [NSString stringWithUTF8String:hoedown_buffer_cstr(ob)] ?: @"";
    hoedown_document_free(document);
    hoedown_buffer_free(ob);
    if (tocRenderer) {
        document = hoedown_document_new(tocRenderer, flags, SIZE_MAX);
        ob = hoedown_buffer_new(64);
        hoedown_document_render(
                                document, ob, inputData.bytes, inputData.length);
        NSString *toc = [NSString stringWithUTF8String:hoedown_buffer_cstr(ob)];
        
        static NSRegularExpression *tocRegex = nil;
        static dispatch_once_t onceToken;
        dispatch_once(&onceToken, ^{
            NSString *pattern = @"<p.*?>\\s*\\[TOC\\]\\s*</p>";
            NSRegularExpressionOptions ops = NSRegularExpressionCaseInsensitive;
            tocRegex = [[NSRegularExpression alloc] initWithPattern:pattern
                                                            options:ops
                                                              error:NULL];
        });
        NSRange replaceRange = NSMakeRange(0, result.length);
        result = [tocRegex stringByReplacingMatchesInString:result options:0
                                                      range:replaceRange
                                               withTemplate:toc];
        hoedown_document_free(document);
        hoedown_buffer_free(ob);
    }

    return result;
}

@implementation MarkdownRender

+ (instancetype)shared {
    static dispatch_once_t onceToken;
    static MarkdownRender *render = nil;
    dispatch_once(&onceToken, ^{
        render = [[MarkdownRender alloc] init];
    });
    return render;
}

- (instancetype)init {
    if (self = [super init]) {
        self.styleName = @"GitHub";
        self.highlightName = @"tomorrow";
        self.title = @"Title";
        self.fontSize = 17;
    }
    return self;
}

- (NSString *)tocHeader:(NSString *)markdown {
    hoedown_renderer *tocRenderer = MPCreateHTMLTOCRenderer();
    int extensions = [self extensionFlags];

    NSData *inputData = [markdown dataUsingEncoding:NSUTF8StringEncoding];
    hoedown_document *document = hoedown_document_new(tocRenderer, extensions, SIZE_MAX);
    hoedown_buffer *ob = hoedown_buffer_new(64);
    hoedown_document_render(document, ob, inputData.bytes, inputData.length);
    
    NSString *toc = [NSString stringWithUTF8String:hoedown_buffer_cstr(ob)];

    hoedown_document_free(document);
    hoedown_buffer_free(ob);
    hoedown_html_renderer_free(tocRenderer);
    return toc;
}

- (NSString*)renderMarkdown:(NSString*)markdown {
    if (markdown.length == 0) {
        return @"";
    }
    hoedown_renderer *htmlRenderer = MPCreateHTMLRenderer([self rendererFlags]);
    hoedown_renderer *tocRenderer = MPCreateHTMLTOCRenderer();
    int extensions = [self extensionFlags];
    NSString *html = MPHTMLFromMarkdown(markdown, extensions, NO, htmlRenderer, tocRenderer);
    hoedown_html_renderer_free(htmlRenderer);
    hoedown_html_renderer_free(tocRenderer);

    NSString *stylePath = [NSString stringWithFormat:@"/Styles/%@.css",self.styleName];
    NSString *highlightPath = [NSString stringWithFormat:@"/Highlight/highlight-style/%@.css",self.highlightName];
    NSString *highlightJS1 = @"/Highlight/highlightjs/highlight.min.js";
    NSString *highlightJS2 = @"/Highlight/highlightjs/swift.min.js";
    NSString *MathJaxJS = @"/MathJax/tex-mml-chtml.js";
    //    NSString *mermaid = @"https://cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js";
    return [self formatHTML:html title:(self.title?:@"") styles:@[stylePath,highlightPath] scripts:@[highlightJS1,highlightJS2,MathJaxJS]];
}

- (NSString*)formatHTML:(NSString*)body title:(NSString*)title styles:(NSArray<NSString*>*)styles scripts:(NSArray<NSString*>*)scripts {
    NSMutableString *styleSheets = @"".mutableCopy;
    NSMutableString *scriptsString = @"".mutableCopy;
    for (NSString *style in styles) {
        [styleSheets appendFormat:@"\n<link rel=\"stylesheet\" href=\"%@%@\"/>",kResourceURL,style];
    }
    for (NSString *script in scripts) {
        [scriptsString appendFormat:@"\n<script src=\"%@%@\"></script>",kResourceURL,script];
    }
    return [NSString stringWithFormat:kTemplate,self.fontSize,title,styleSheets,scriptsString,body];
}

- (int)extensionFlags
{
    int flags = 0;
    flags |= HOEDOWN_EXT_AUTOLINK;
    flags |= HOEDOWN_EXT_FENCED_CODE;
    flags |= HOEDOWN_EXT_FOOTNOTES;
    flags |= HOEDOWN_EXT_HIGHLIGHT;
//    flags |= HOEDOWN_EXT_NO_INTRA_EMPHASIS;
//    flags |= HOEDOWN_EXT_SPACE_HEADERS;
    flags |= HOEDOWN_EXT_QUOTE;
    flags |= HOEDOWN_EXT_STRIKETHROUGH;
    flags |= HOEDOWN_EXT_SUPERSCRIPT;
    flags |= HOEDOWN_EXT_TABLES;
    flags |= HOEDOWN_EXT_UNDERLINE;
    flags |= HOEDOWN_EXT_MATH;
    flags |= HOEDOWN_EXT_MATH_EXPLICIT;
    return flags;
}

- (int)rendererFlags
{
    int flags = 0;
    flags |= HOEDOWN_HTML_USE_TASK_LIST;
    flags |= HOEDOWN_HTML_HARD_WRAP;
    return flags;
}

@end


================================================
FILE: MarkLite/Core/NSData+MD5.h
================================================
//
//  NSData+MD5.h
//  Markdown
//
//  Created by 朱炳程 on 2020/5/24.
//  Copyright © 2020 zhubch. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSData(MD5)

- (NSString*)md5;

@end

NS_ASSUME_NONNULL_END


================================================
FILE: MarkLite/Core/NSData+MD5.m
================================================
//
//  NSData+MD5.m
//  Markdown
//
//  Created by 朱炳程 on 2020/5/24.
//  Copyright © 2020 zhubch. All rights reserved.
//

#import "NSData+MD5.h"
#import <CommonCrypto/CommonCrypto.h>

@implementation NSData(MD5)

- (NSString*)md5 {
  //1: 创建一个MD5对象
  CC_MD5_CTX md5;
  //2: 初始化MD5
  CC_MD5_Init(&md5);
  //3: 准备MD5加密
  CC_MD5_Update(&md5, self.bytes, (CC_LONG)self.length);
  //4: 准备一个字符串数组, 存储MD5加密之后的数据
  unsigned char result[CC_MD5_DIGEST_LENGTH];
  //5: 结束MD5加密
  CC_MD5_Final(result, &md5);
  NSMutableString *resultString = [NSMutableString string];
  //6:从result数组中获取最终结果
  for (int i = 0; i < CC_MD5_DIGEST_LENGTH; i++) {
      [resultString appendFormat:@"%02X", result[i]];
  }
  return resultString;
}

@end


================================================
FILE: MarkLite/Core/PDFRender.swift
================================================
//
//  PDFRender.swift
//  Markdown
//
//  Created by zhubch on 2017/7/31.
//  Copyright © 2017年 zhubch. All rights reserved.
//

import UIKit

class PDFRender: UIPrintPageRenderer {
    
    let pageSize: CGSize
    
    let padding: CGFloat
    
    override var paperRect: CGRect {
        
        return CGRect(x: 0, y: 0, w: pageSize.width, h: pageSize.height)
    }
    
    override var printableRect: CGRect {
        return CGRect(x: 20, y: 20, w: pageSize.width - 20, h: pageSize.height - 20 - footerHeight)
    }
    
    init(pageSize: CGSize = CGSize(width: 595.2, height: 841.8) , padding: CGFloat = 20) {
        self.pageSize = pageSize
        self.padding = padding
        super.init()
        self.headerHeight = 0.0
        self.footerHeight = 40.0
    }
    
    func render(formatter: UIViewPrintFormatter) -> Data {
        
//        let formatter = UIMarkupTextPrintFormatter(markupText: html)
        addPrintFormatter(formatter, startingAtPageAt: 0)
        let data = NSMutableData()
        
        UIGraphicsBeginPDFContextToData(data, CGRect(), nil)
        prepare(forDrawingPages: NSRange(location:0, length: numberOfPages))
        for i in 0..<numberOfPages {
            UIGraphicsBeginPDFPage()
            let bounds = UIGraphicsGetPDFContextBounds()
            drawPage(at: i, in: bounds)
        }
        UIGraphicsEndPDFContext()
        
        return data as Data
    }
    

    override func drawFooterForPage(at pageIndex: Int, in footerRect: CGRect) {
        let font = UIFont(name: "HelveticaNeue", size: 18)
        let attr: [NSAttributedStringKey : NSObject] = [
            NSAttributedStringKey.font : font ?? UIFont.font(ofSize: 18),
            NSAttributedStringKey.foregroundColor : rgb("0f2f2f")!
        ]
        
        let text = (pageIndex + 1).toString as NSString
        let textSize = text.size(withAttributes: attr)
        let rect = CGRect(x: (pageSize.width - textSize.width) * 0.5,
                          y: footerRect.origin.y + 15 - textSize.height * 0.5,
                          w: textSize.width,
                          h: textSize.height)
        text.draw(in: rect, withAttributes: attr)
    }
    
}


================================================
FILE: MarkLite/Core/hoedown/autolink.c
================================================
#include "autolink.h"

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>

#ifndef _MSC_VER
#include <strings.h>
#else
#define strncasecmp	_strnicmp
#endif

int
hoedown_autolink_is_safe(const uint8_t *data, size_t size)
{
	static const size_t valid_uris_count = 6;
	static const char *valid_uris[] = {
		"http://", "https://", "/", "#", "ftp://", "mailto:"
	};
	static const size_t valid_uris_size[] = { 7, 8, 1, 1, 6, 7 };
	size_t i;

	for (i = 0; i < valid_uris_count; ++i) {
		size_t len = valid_uris_size[i];

		if (size > len &&
			strncasecmp((char *)data, valid_uris[i], len) == 0 &&
			isalnum(data[len]))
			return 1;
	}

	return 0;
}

static size_t
autolink_delim(uint8_t *data, size_t link_end, size_t max_rewind, size_t size)
{
	uint8_t cclose, copen = 0;
	size_t i;

	for (i = 0; i < link_end; ++i)
		if (data[i] == '<') {
			link_end = i;
			break;
		}

	while (link_end > 0) {
		if (strchr("?!.,:", data[link_end - 1]) != NULL)
			link_end--;

		else if (data[link_end - 1] == ';') {
			size_t new_end = link_end - 2;

			while (new_end > 0 && isalpha(data[new_end]))
				new_end--;

			if (new_end < link_end - 2 && data[new_end] == '&')
				link_end = new_end;
			else
				link_end--;
		}
		else break;
	}

	if (link_end == 0)
		return 0;

	cclose = data[link_end - 1];

	switch (cclose) {
	case '"':	copen = '"'; break;
	case '\'':	copen = '\''; break;
	case ')':	copen = '('; break;
	case ']':	copen = '['; break;
	case '}':	copen = '{'; break;
	}

	if (copen != 0) {
		size_t closing = 0;
		size_t opening = 0;
		size_t i = 0;

		/* Try to close the final punctuation sign in this same line;
		 * if we managed to close it outside of the URL, that means that it's
		 * not part of the URL. If it closes inside the URL, that means it
		 * is part of the URL.
		 *
		 * Examples:
		 *
		 *	foo http://www.pokemon.com/Pikachu_(Electric) bar
		 *		=> http://www.pokemon.com/Pikachu_(Electric)
		 *
		 *	foo (http://www.pokemon.com/Pikachu_(Electric)) bar
		 *		=> http://www.pokemon.com/Pikachu_(Electric)
		 *
		 *	foo http://www.pokemon.com/Pikachu_(Electric)) bar
		 *		=> http://www.pokemon.com/Pikachu_(Electric))
		 *
		 *	(foo http://www.pokemon.com/Pikachu_(Electric)) bar
		 *		=> foo http://www.pokemon.com/Pikachu_(Electric)
		 */

		while (i < link_end) {
			if (data[i] == copen)
				opening++;
			else if (data[i] == cclose)
				closing++;

			i++;
		}

		if (closing != opening)
			link_end--;
	}

	return link_end;
}

static size_t
check_domain(uint8_t *data, size_t size, int allow_short)
{
	size_t i, np = 0;

	if (!isalnum(data[0]))
		return 0;

	for (i = 1; i < size - 1; ++i) {
		if (strchr(".:", data[i]) != NULL) np++;
		else if (!isalnum(data[i]) && data[i] != '-') break;
	}

	if (allow_short) {
		/* We don't need a valid domain in the strict sense (with
		 * least one dot; so just make sure it's composed of valid
		 * domain characters and return the length of the the valid
		 * sequence. */
		return i;
	} else {
		/* a valid domain needs to have at least a dot.
		 * that's as far as we get */
		return np ? i : 0;
	}
}

size_t
hoedown_autolink__www(
	size_t *rewind_p,
	hoedown_buffer *link,
	uint8_t *data,
	size_t max_rewind,
	size_t size,
	unsigned int flags)
{
	size_t link_end;

	if (max_rewind > 0 && !ispunct(data[-1]) && !isspace(data[-1]))
		return 0;

	if (size < 4 || memcmp(data, "www.", strlen("www.")) != 0)
		return 0;

	link_end = check_domain(data, size, 0);

	if (link_end == 0)
		return 0;

	while (link_end < size && !isspace(data[link_end]))
		link_end++;

	link_end = autolink_delim(data, link_end, max_rewind, size);

	if (link_end == 0)
		return 0;

	hoedown_buffer_put(link, data, link_end);
	*rewind_p = 0;

	return (int)link_end;
}

size_t
hoedown_autolink__email(
	size_t *rewind_p,
	hoedown_buffer *link,
	uint8_t *data,
	size_t max_rewind,
	size_t size,
	unsigned int flags)
{
	size_t link_end, rewind;
	int nb = 0, np = 0;

	for (rewind = 0; rewind < max_rewind; ++rewind) {
		uint8_t c = data[-1 - rewind];

		if (isalnum(c))
			continue;

		if (strchr(".+-_", c) != NULL)
			continue;

		break;
	}

	if (rewind == 0)
		return 0;

	for (link_end = 0; link_end < size; ++link_end) {
		uint8_t c = data[link_end];

		if (isalnum(c))
			continue;

		if (c == '@')
			nb++;
		else if (c == '.' && link_end < size - 1)
			np++;
		else if (c != '-' && c != '_')
			break;
	}

	if (link_end < 2 || nb != 1 || np == 0 ||
		!isalpha(data[link_end - 1]))
		return 0;

	link_end = autolink_delim(data, link_end, max_rewind, size);

	if (link_end == 0)
		return 0;

	hoedown_buffer_put(link, data - rewind, link_end + rewind);
	*rewind_p = rewind;

	return link_end;
}

size_t
hoedown_autolink__url(
	size_t *rewind_p,
	hoedown_buffer *link,
	uint8_t *data,
	size_t max_rewind,
	size_t size,
	unsigned int flags)
{
	size_t link_end, rewind = 0, domain_len;

	if (size < 4 || data[1] != '/' || data[2] != '/')
		return 0;

	while (rewind < max_rewind && isalpha(data[-1 - rewind]))
		rewind++;

	if (!hoedown_autolink_is_safe(data - rewind, size + rewind))
		return 0;

	link_end = strlen("://");

	domain_len = check_domain(
		data + link_end,
		size - link_end,
		flags & HOEDOWN_AUTOLINK_SHORT_DOMAINS);

	if (domain_len == 0)
		return 0;

	link_end += domain_len;
	while (link_end < size && !isspace(data[link_end]))
		link_end++;

	link_end = autolink_delim(data, link_end, max_rewind, size);

	if (link_end == 0)
		return 0;

	hoedown_buffer_put(link, data - rewind, link_end + rewind);
	*rewind_p = rewind;

	return link_end;
}


================================================
FILE: MarkLite/Core/hoedown/autolink.h
================================================
/* autolink.h - versatile autolinker */

#ifndef HOEDOWN_AUTOLINK_H
#define HOEDOWN_AUTOLINK_H

#include "buffer.h"

#ifdef __cplusplus
extern "C" {
#endif


/*************
 * CONSTANTS *
 *************/

typedef enum hoedown_autolink_flags {
	HOEDOWN_AUTOLINK_SHORT_DOMAINS = (1 << 0)
} hoedown_autolink_flags;


/*************
 * FUNCTIONS *
 *************/

/* hoedown_autolink_is_safe: verify that a URL has a safe protocol */
int hoedown_autolink_is_safe(const uint8_t *data, size_t size);

/* hoedown_autolink__www: search for the next www link in data */
size_t hoedown_autolink__www(size_t *rewind_p, hoedown_buffer *link,
	uint8_t *data, size_t offset, size_t size, hoedown_autolink_flags flags);

/* hoedown_autolink__email: search for the next email in data */
size_t hoedown_autolink__email(size_t *rewind_p, hoedown_buffer *link,
	uint8_t *data, size_t offset, size_t size, hoedown_autolink_flags flags);

/* hoedown_autolink__url: search for the next URL in data */
size_t hoedown_autolink__url(size_t *rewind_p, hoedown_buffer *link,
	uint8_t *data, size_t offset, size_t size, hoedown_autolink_flags flags);


#ifdef __cplusplus
}
#endif

#endif /** HOEDOWN_AUTOLINK_H **/


================================================
FILE: MarkLite/Core/hoedown/buffer.c
================================================
#include "buffer.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

void *
hoedown_malloc(size_t size)
{
	void *ret = malloc(size);

	if (!ret) {
		fprintf(stderr, "Allocation failed.\n");
		abort();
	}

	return ret;
}

void *
hoedown_calloc(size_t nmemb, size_t size)
{
	void *ret = calloc(nmemb, size);

	if (!ret) {
		fprintf(stderr, "Allocation failed.\n");
		abort();
	}

	return ret;
}

void *
hoedown_realloc(void *ptr, size_t size)
{
	void *ret = realloc(ptr, size);

	if (!ret) {
		fprintf(stderr, "Allocation failed.\n");
		abort();
	}

	return ret;
}

void
hoedown_buffer_init(
	hoedown_buffer *buf,
	size_t unit,
	hoedown_realloc_callback data_realloc,
	hoedown_free_callback data_free,
	hoedown_free_callback buffer_free)
{
	assert(buf);

	buf->data = NULL;
	buf->size = buf->asize = 0;
	buf->unit = unit;
	buf->data_realloc = data_realloc;
	buf->data_free = data_free;
	buf->buffer_free = buffer_free;
}

void
hoedown_buffer_uninit(hoedown_buffer *buf)
{
	assert(buf && buf->unit);
	buf->data_free(buf->data);
}

hoedown_buffer *
hoedown_buffer_new(size_t unit)
{
	hoedown_buffer *ret = hoedown_malloc(sizeof (hoedown_buffer));
	hoedown_buffer_init(ret, unit, hoedown_realloc, free, free);
	return ret;
}

void
hoedown_buffer_free(hoedown_buffer *buf)
{
	if (!buf) return;
	assert(buf && buf->unit);

	buf->data_free(buf->data);

	if (buf->buffer_free)
		buf->buffer_free(buf);
}

void
hoedown_buffer_reset(hoedown_buffer *buf)
{
	assert(buf && buf->unit);

	buf->data_free(buf->data);
	buf->data = NULL;
	buf->size = buf->asize = 0;
}

void
hoedown_buffer_grow(hoedown_buffer *buf, size_t neosz)
{
	size_t neoasz;
	assert(buf && buf->unit);

	if (buf->asize >= neosz)
		return;

	neoasz = buf->asize + buf->unit;
	while (neoasz < neosz)
		neoasz += buf->unit;

	buf->data = buf->data_realloc(buf->data, neoasz);
	buf->asize = neoasz;
}

void
hoedown_buffer_put(hoedown_buffer *buf, const uint8_t *data, size_t size)
{
	assert(buf && buf->unit);

	if (buf->size + size > buf->asize)
		hoedown_buffer_grow(buf, buf->size + size);

	memcpy(buf->data + buf->size, data, size);
	buf->size += size;
}

void
hoedown_buffer_puts(hoedown_buffer *buf, const char *str)
{
	hoedown_buffer_put(buf, (const uint8_t *)str, strlen(str));
}

void
hoedown_buffer_putc(hoedown_buffer *buf, uint8_t c)
{
	assert(buf && buf->unit);

	if (buf->size >= buf->asize)
		hoedown_buffer_grow(buf, buf->size + 1);

	buf->data[buf->size] = c;
	buf->size += 1;
}

int
hoedown_buffer_putf(hoedown_buffer *buf, FILE *file)
{
	assert(buf && buf->unit);

	while (!(feof(file) || ferror(file))) {
		hoedown_buffer_grow(buf, buf->size + buf->unit);
		buf->size += fread(buf->data + buf->size, 1, buf->unit, file);
	}

	return ferror(file);
}

void
hoedown_buffer_set(hoedown_buffer *buf, const uint8_t *data, size_t size)
{
	assert(buf && buf->unit);

	if (size > buf->asize)
		hoedown_buffer_grow(buf, size);

	memcpy(buf->data, data, size);
	buf->size = size;
}

void
hoedown_buffer_sets(hoedown_buffer *buf, const char *str)
{
	hoedown_buffer_set(buf, (const uint8_t *)str, strlen(str));
}

int
hoedown_buffer_eq(const hoedown_buffer *buf, const uint8_t *data, size_t size)
{
	if (buf->size != size) return 0;
	return memcmp(buf->data, data, size) == 0;
}

int
hoedown_buffer_eqs(const hoedown_buffer *buf, const char *str)
{
	return hoedown_buffer_eq(buf, (const uint8_t *)str, strlen(str));
}

int
hoedown_buffer_prefix(const hoedown_buffer *buf, const char *prefix)
{
	size_t i;

	for (i = 0; i < buf->size; ++i) {
		if (prefix[i] == 0)
			return 0;

		if (buf->data[i] != prefix[i])
			return buf->data[i] - prefix[i];
	}

	return 0;
}

void
hoedown_buffer_slurp(hoedown_buffer *buf, size_t size)
{
	assert(buf && buf->unit);

	if (size >= buf->size) {
		buf->size = 0;
		return;
	}

	buf->size -= size;
	memmove(buf->data, buf->data + size, buf->size);
}

const char *
hoedown_buffer_cstr(hoedown_buffer *buf)
{
	assert(buf && buf->unit);

	if (buf->size < buf->asize && buf->data[buf->size] == 0)
		return (char *)buf->data;

	hoedown_buffer_grow(buf, buf->size + 1);
	buf->data[buf->size] = 0;

	return (char *)buf->data;
}

void
hoedown_buffer_printf(hoedown_buffer *buf, const char *fmt, ...)
{
	va_list ap;
	int n;

	assert(buf && buf->unit);

	if (buf->size >= buf->asize)
		hoedown_buffer_grow(buf, buf->size + 1);

	va_start(ap, fmt);
	n = vsnprintf((char *)buf->data + buf->size, buf->asize - buf->size, fmt, ap);
	va_end(ap);

	if (n < 0) {
#ifndef _MSC_VER
		return;
#else
		va_start(ap, fmt);
		n = _vscprintf(fmt, ap);
		va_end(ap);
#endif
	}

	if ((size_t)n >= buf->asize - buf->size) {
		hoedown_buffer_grow(buf, buf->size + n + 1);

		va_start(ap, fmt);
		n = vsnprintf((char *)buf->data + buf->size, buf->asize - buf->size, fmt, ap);
		va_end(ap);
	}

	if (n < 0)
		return;

	buf->size += n;
}

void hoedown_buffer_put_utf8(hoedown_buffer *buf, unsigned int c) {
	unsigned char unichar[4];

	assert(buf && buf->unit);

	if (c < 0x80) {
		hoedown_buffer_putc(buf, c);
	}
	else if (c < 0x800) {
		unichar[0] = 192 + (c / 64);
		unichar[1] = 128 + (c % 64);
		hoedown_buffer_put(buf, unichar, 2);
	}
	else if (c - 0xd800u < 0x800) {
		HOEDOWN_BUFPUTSL(buf, "\xef\xbf\xbd");
	}
	else if (c < 0x10000) {
		unichar[0] = 224 + (c / 4096);
		unichar[1] = 128 + (c / 64) % 64;
		unichar[2] = 128 + (c % 64);
		hoedown_buffer_put(buf, unichar, 3);
	}
	else if (c < 0x110000) {
		unichar[0] = 240 + (c / 262144);
		unichar[1] = 128 + (c / 4096) % 64;
		unichar[2] = 128 + (c / 64) % 64;
		unichar[3] = 128 + (c % 64);
		hoedown_buffer_put(buf, unichar, 4);
	}
	else {
		HOEDOWN_BUFPUTSL(buf, "\xef\xbf\xbd");
	}
}


================================================
FILE: MarkLite/Core/hoedown/buffer.h
================================================
/* buffer.h - simple, fast buffers */

#ifndef HOEDOWN_BUFFER_H
#define HOEDOWN_BUFFER_H

#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif

#if defined(_MSC_VER)
#define __attribute__(x)
#define inline __inline
#define __builtin_expect(x,n) x
#endif


/*********
 * TYPES *
 *********/

typedef void *(*hoedown_realloc_callback)(void *, size_t);
typedef void (*hoedown_free_callback)(void *);

struct hoedown_buffer {
	uint8_t *data;	/* actual character data */
	size_t size;	/* size of the string */
	size_t asize;	/* allocated size (0 = volatile buffer) */
	size_t unit;	/* reallocation unit size (0 = read-only buffer) */

	hoedown_realloc_callback data_realloc;
	hoedown_free_callback data_free;
	hoedown_free_callback buffer_free;
};

typedef struct hoedown_buffer hoedown_buffer;


/*************
 * FUNCTIONS *
 *************/

/* allocation wrappers */
void *hoedown_malloc(size_t size) __attribute__ ((malloc));
void *hoedown_calloc(size_t nmemb, size_t size) __attribute__ ((malloc));
void *hoedown_realloc(void *ptr, size_t size) __attribute__ ((malloc));

/* hoedown_buffer_init: initialize a buffer with custom allocators */
void hoedown_buffer_init(
	hoedown_buffer *buffer,
	size_t unit,
	hoedown_realloc_callback data_realloc,
	hoedown_free_callback data_free,
	hoedown_free_callback buffer_free
);

/* hoedown_buffer_uninit: uninitialize an existing buffer */
void hoedown_buffer_uninit(hoedown_buffer *buf);

/* hoedown_buffer_new: allocate a new buffer */
hoedown_buffer *hoedown_buffer_new(size_t unit) __attribute__ ((malloc));

/* hoedown_buffer_reset: free internal data of the buffer */
void hoedown_buffer_reset(hoedown_buffer *buf);

/* hoedown_buffer_grow: increase the allocated size to the given value */
void hoedown_buffer_grow(hoedown_buffer *buf, size_t neosz);

/* hoedown_buffer_put: append raw data to a buffer */
void hoedown_buffer_put(hoedown_buffer *buf, const uint8_t *data, size_t size);

/* hoedown_buffer_puts: append a NUL-terminated string to a buffer */
void hoedown_buffer_puts(hoedown_buffer *buf, const char *str);

/* hoedown_buffer_putc: append a single char to a buffer */
void hoedown_buffer_putc(hoedown_buffer *buf, uint8_t c);

/* hoedown_buffer_putf: read from a file and append to a buffer, until EOF or error */
int hoedown_buffer_putf(hoedown_buffer *buf, FILE* file);

/* hoedown_buffer_set: replace the buffer's contents with raw data */
void hoedown_buffer_set(hoedown_buffer *buf, const uint8_t *data, size_t size);

/* hoedown_buffer_sets: replace the buffer's contents with a NUL-terminated string */
void hoedown_buffer_sets(hoedown_buffer *buf, const char *str);

/* hoedown_buffer_eq: compare a buffer's data with other data for equality */
int hoedown_buffer_eq(const hoedown_buffer *buf, const uint8_t *data, size_t size);

/* hoedown_buffer_eq: compare a buffer's data with NUL-terminated string for equality */
int hoedown_buffer_eqs(const hoedown_buffer *buf, const char *str);

/* hoedown_buffer_prefix: compare the beginning of a buffer with a string */
int hoedown_buffer_prefix(const hoedown_buffer *buf, const char *prefix);

/* hoedown_buffer_slurp: remove a given number of bytes from the head of the buffer */
void hoedown_buffer_slurp(hoedown_buffer *buf, size_t size);

/* hoedown_buffer_cstr: NUL-termination of the string array (making a C-string) */
const char *hoedown_buffer_cstr(hoedown_buffer *buf);

/* hoedown_buffer_printf: formatted printing to a buffer */
void hoedown_buffer_printf(hoedown_buffer *buf, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));

/* hoedown_buffer_put_utf8: put a Unicode character encoded as UTF-8 */
void hoedown_buffer_put_utf8(hoedown_buffer *buf, unsigned int codepoint);

/* hoedown_buffer_free: free the buffer */
void hoedown_buffer_free(hoedown_buffer *buf);


/* HOEDOWN_BUFPUTSL: optimized hoedown_buffer_puts of a string literal */
#define HOEDOWN_BUFPUTSL(output, literal) \
	hoedown_buffer_put(output, (const uint8_t *)literal, sizeof(literal) - 1)

/* HOEDOWN_BUFSETSL: optimized hoedown_buffer_sets of a string literal */
#define HOEDOWN_BUFSETSL(output, literal) \
	hoedown_buffer_set(output, (const uint8_t *)literal, sizeof(literal) - 1)

/* HOEDOWN_BUFEQSL: optimized hoedown_buffer_eqs of a string literal */
#define HOEDOWN_BUFEQSL(output, literal) \
	hoedown_buffer_eq(output, (const uint8_t *)literal, sizeof(literal) - 1)


#ifdef __cplusplus
}
#endif

#endif /** HOEDOWN_BUFFER_H **/


================================================
FILE: MarkLite/Core/hoedown/document.c
================================================
#include "document.h"

#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>

#include "stack.h"

#ifndef _MSC_VER
#include <strings.h>
#else
#define strncasecmp	_strnicmp
#endif

#define REF_TABLE_SIZE 8

#define BUFFER_BLOCK 0
#define BUFFER_SPAN 1

#define HOEDOWN_LI_END 8	/* internal list flag */

const char *hoedown_find_block_tag(const char *str, unsigned int len);

/***************
 * LOCAL TYPES *
 ***************/

/* link_ref: reference to a link */
struct link_ref {
	unsigned int id;

	hoedown_buffer *link;
	hoedown_buffer *title;

	struct link_ref *next;
};

/* footnote_ref: reference to a footnote */
struct footnote_ref {
	unsigned int id;

	int is_used;
	unsigned int num;

	hoedown_buffer *contents;
};

/* footnote_item: an item in a footnote_list */
struct footnote_item {
	struct footnote_ref *ref;
	struct footnote_item *next;
};

/* footnote_list: linked list of footnote_item */
struct footnote_list {
	unsigned int count;
	struct footnote_item *head;
	struct footnote_item *tail;
};

/* char_trigger: function pointer to render active chars */
/*   returns the number of chars taken care of */
/*   data is the pointer of the beginning of the span */
/*   offset is the number of valid chars before data */
typedef size_t
(*char_trigger)(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);

static size_t char_emphasis(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_quote(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_linebreak(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_codespan(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_escape(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_entity(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_langle_tag(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_autolink_url(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_autolink_email(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_autolink_www(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_link(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_image(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_media(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_superscript(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);
static size_t char_math(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size);

enum markdown_char_t {
	MD_CHAR_NONE = 0,
	MD_CHAR_EMPHASIS,
	MD_CHAR_CODESPAN,
	MD_CHAR_LINEBREAK,
	MD_CHAR_LINK,
    MD_CHAR_IMAGE,
    MD_CHAR_MEDIA,
	MD_CHAR_LANGLE,
	MD_CHAR_ESCAPE,
	MD_CHAR_ENTITY,
	MD_CHAR_AUTOLINK_URL,
	MD_CHAR_AUTOLINK_EMAIL,
	MD_CHAR_AUTOLINK_WWW,
	MD_CHAR_SUPERSCRIPT,
	MD_CHAR_QUOTE,
	MD_CHAR_MATH
};

static char_trigger markdown_char_ptrs[] = {
	NULL,
	&char_emphasis,
	&char_codespan,
	&char_linebreak,
	&char_link,
    &char_image,
    &char_media,
	&char_langle_tag,
	&char_escape,
	&char_entity,
	&char_autolink_url,
	&char_autolink_email,
	&char_autolink_www,
	&char_superscript,
	&char_quote,
	&char_math
};

struct hoedown_document {
	hoedown_renderer md;
	hoedown_renderer_data data;

	struct link_ref *refs[REF_TABLE_SIZE];
	struct footnote_list footnotes_found;
	struct footnote_list footnotes_used;
	uint8_t active_char[256];
	hoedown_stack work_bufs[2];
	hoedown_extensions ext_flags;
	size_t max_nesting;
	int in_link_body;
};

/***************************
 * HELPER FUNCTIONS *
 ***************************/

static hoedown_buffer *
newbuf(hoedown_document *doc, int type)
{
	static const size_t buf_size[2] = {256, 64};
	hoedown_buffer *work = NULL;
	hoedown_stack *pool = &doc->work_bufs[type];

	if (pool->size < pool->asize &&
		pool->item[pool->size] != NULL) {
		work = pool->item[pool->size++];
		work->size = 0;
	} else {
		work = hoedown_buffer_new(buf_size[type]);
		hoedown_stack_push(pool, work);
	}

	return work;
}

static void
popbuf(hoedown_document *doc, int type)
{
	doc->work_bufs[type].size--;
}

static void
unscape_text(hoedown_buffer *ob, hoedown_buffer *src)
{
	size_t i = 0, org;
	while (i < src->size) {
		org = i;
		while (i < src->size && src->data[i] != '\\')
			i++;

		if (i > org)
			hoedown_buffer_put(ob, src->data + org, i - org);

		if (i + 1 >= src->size)
			break;

		hoedown_buffer_putc(ob, src->data[i + 1]);
		i += 2;
	}
}

static unsigned int
hash_link_ref(const uint8_t *link_ref, size_t length)
{
	size_t i;
	unsigned int hash = 0;

	for (i = 0; i < length; ++i)
		hash = tolower(link_ref[i]) + (hash << 6) + (hash << 16) - hash;

	return hash;
}

static struct link_ref *
add_link_ref(
	struct link_ref **references,
	const uint8_t *name, size_t name_size)
{
	struct link_ref *ref = hoedown_calloc(1, sizeof(struct link_ref));

	ref->id = hash_link_ref(name, name_size);
	ref->next = references[ref->id % REF_TABLE_SIZE];

	references[ref->id % REF_TABLE_SIZE] = ref;
	return ref;
}

static struct link_ref *
find_link_ref(struct link_ref **references, uint8_t *name, size_t length)
{
	unsigned int hash = hash_link_ref(name, length);
	struct link_ref *ref = NULL;

	ref = references[hash % REF_TABLE_SIZE];

	while (ref != NULL) {
		if (ref->id == hash)
			return ref;

		ref = ref->next;
	}

	return NULL;
}

static void
free_link_refs(struct link_ref **references)
{
	size_t i;

	for (i = 0; i < REF_TABLE_SIZE; ++i) {
		struct link_ref *r = references[i];
		struct link_ref *next;

		while (r) {
			next = r->next;
			hoedown_buffer_free(r->link);
			hoedown_buffer_free(r->title);
			free(r);
			r = next;
		}
	}
}

static struct footnote_ref *
create_footnote_ref(struct footnote_list *list, const uint8_t *name, size_t name_size)
{
	struct footnote_ref *ref = hoedown_calloc(1, sizeof(struct footnote_ref));

	ref->id = hash_link_ref(name, name_size);

	return ref;
}

static int
add_footnote_ref(struct footnote_list *list, struct footnote_ref *ref)
{
	struct footnote_item *item = hoedown_calloc(1, sizeof(struct footnote_item));
	if (!item)
		return 0;
	item->ref = ref;

	if (list->head == NULL) {
		list->head = list->tail = item;
	} else {
		list->tail->next = item;
		list->tail = item;
	}
	list->count++;

	return 1;
}

static struct footnote_ref *
find_footnote_ref(struct footnote_list *list, uint8_t *name, size_t length)
{
	unsigned int hash = hash_link_ref(name, length);
	struct footnote_item *item = NULL;

	item = list->head;

	while (item != NULL) {
		if (item->ref->id == hash)
			return item->ref;
		item = item->next;
	}

	return NULL;
}

static void
free_footnote_ref(struct footnote_ref *ref)
{
	hoedown_buffer_free(ref->contents);
	free(ref);
}

static void
free_footnote_list(struct footnote_list *list, int free_refs)
{
	struct footnote_item *item = list->head;
	struct footnote_item *next;

	while (item) {
		next = item->next;
		if (free_refs)
			free_footnote_ref(item->ref);
		free(item);
		item = next;
	}
}


/*
 * Check whether a char is a Markdown spacing char.

 * Right now we only consider spaces the actual
 * space and a newline: tabs and carriage returns
 * are filtered out during the preprocessing phase.
 *
 * If we wanted to actually be UTF-8 compliant, we
 * should instead extract an Unicode codepoint from
 * this character and check for space properties.
 */
static int
_isspace(int c)
{
	return c == ' ' || c == '\n';
}

/* is_empty_all: verify that all the data is spacing */
static int
is_empty_all(const uint8_t *data, size_t size)
{
	size_t i = 0;
	while (i < size && _isspace(data[i])) i++;
	return i == size;
}

/*
 * Replace all spacing characters in data with spaces. As a special
 * case, this collapses a newline with the previous space, if possible.
 */
static void
replace_spacing(hoedown_buffer *ob, const uint8_t *data, size_t size)
{
	size_t i = 0, mark;
	hoedown_buffer_grow(ob, size);
	while (1) {
		mark = i;
		while (i < size && data[i] != '\n') i++;
		hoedown_buffer_put(ob, data + mark, i - mark);

		if (i >= size) break;

		if (!(i > 0 && data[i-1] == ' '))
			hoedown_buffer_putc(ob, ' ');
		i++;
	}
}

/****************************
 * INLINE PARSING FUNCTIONS *
 ****************************/

/* is_mail_autolink • looks for the address part of a mail autolink and '>' */
/* this is less strict than the original markdown e-mail address matching */
static size_t
is_mail_autolink(uint8_t *data, size_t size)
{
	size_t i = 0, nb = 0;

	/* address is assumed to be: [-@._a-zA-Z0-9]+ with exactly one '@' */
	for (i = 0; i < size; ++i) {
		if (isalnum(data[i]))
			continue;

		switch (data[i]) {
			case '@':
				nb++;

			case '-':
			case '.':
			case '_':
				break;

			case '>':
				return (nb == 1) ? i + 1 : 0;

			default:
				return 0;
		}
	}

	return 0;
}

/* tag_length • returns the length of the given tag, or 0 is it's not valid */
static size_t
tag_length(uint8_t *data, size_t size, hoedown_autolink_type *autolink)
{
	size_t i, j;

	/* a valid tag can't be shorter than 3 chars */
	if (size < 3) return 0;

	if (data[0] != '<') return 0;

        /* HTML comment, laxist form */
        if (size > 5 && data[1] == '!' && data[2] == '-' && data[3] == '-') {
		i = 5;

		while (i < size && !(data[i - 2] == '-' && data[i - 1] == '-' && data[i] == '>'))
			i++;

		i++;

		if (i <= size)
			return i;
        }

	/* begins with a '<' optionally followed by '/', followed by letter or number */
        i = (data[1] == '/') ? 2 : 1;

	if (!isalnum(data[i]))
		return 0;

	/* scheme test */
	*autolink = HOEDOWN_AUTOLINK_NONE;

	/* try to find the beginning of an URI */
	while (i < size && (isalnum(data[i]) || data[i] == '.' || data[i] == '+' || data[i] == '-'))
		i++;

	if (i > 1 && data[i] == '@') {
		if ((j = is_mail_autolink(data + i, size - i)) != 0) {
			*autolink = HOEDOWN_AUTOLINK_EMAIL;
			return i + j;
		}
	}

	if (i > 2 && data[i] == ':') {
		*autolink = HOEDOWN_AUTOLINK_NORMAL;
		i++;
	}

	/* completing autolink test: no spacing or ' or " */
	if (i >= size)
		*autolink = HOEDOWN_AUTOLINK_NONE;

	else if (*autolink) {
		j = i;

		while (i < size) {
			if (data[i] == '\\') i += 2;
			else if (data[i] == '>' || data[i] == '\'' ||
					data[i] == '"' || data[i] == ' ' || data[i] == '\n')
					break;
			else i++;
		}

		if (i >= size) return 0;
		if (i > j && data[i] == '>') return i + 1;
		/* one of the forbidden chars has been found */
		*autolink = HOEDOWN_AUTOLINK_NONE;
	}

	/* looking for something looking like a tag end */
	while (i < size && data[i] != '>') i++;
	if (i >= size) return 0;
	return i + 1;
}

/* parse_inline • parses inline markdown elements */
static void
parse_inline(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size)
{
	size_t i = 0, end = 0, consumed = 0;
	hoedown_buffer work = { 0, 0, 0, 0, NULL, NULL, NULL };
	uint8_t *active_char = doc->active_char;

	if (doc->work_bufs[BUFFER_SPAN].size +
		doc->work_bufs[BUFFER_BLOCK].size > doc->max_nesting)
		return;

	while (i < size) {
		/* copying inactive chars into the output */
		while (end < size && active_char[data[end]] == 0)
			end++;

		if (doc->md.normal_text) {
			work.data = data + i;
			work.size = end - i;
			doc->md.normal_text(ob, &work, &doc->data);
		}
		else
			hoedown_buffer_put(ob, data + i, end - i);

		if (end >= size) break;
		i = end;

		end = markdown_char_ptrs[ (int)active_char[data[end]] ](ob, doc, data + i, i - consumed, size - i);
		if (!end) /* no action from the callback */
			end = i + 1;
		else {
			i += end;
			end = i;
			consumed = i;
		}
	}
}

/* is_escaped • returns whether special char at data[loc] is escaped by '\\' */
static int
is_escaped(uint8_t *data, size_t loc)
{
	size_t i = loc;
	while (i >= 1 && data[i - 1] == '\\')
		i--;

	/* odd numbers of backslashes escapes data[loc] */
	return (loc - i) % 2;
}

/* find_emph_char • looks for the next emph uint8_t, skipping other constructs */
static size_t
find_emph_char(uint8_t *data, size_t size, uint8_t c)
{
	size_t i = 0;

	while (i < size) {
		while (i < size && data[i] != c && data[i] != '[' && data[i] != '`')
			i++;

		if (i == size)
			return 0;

		/* not counting escaped chars */
		if (is_escaped(data, i)) {
			i++; continue;
		}

		if (data[i] == c)
			return i;

		/* skipping a codespan */
		if (data[i] == '`') {
			size_t span_nb = 0, bt;
			size_t tmp_i = 0;

			/* counting the number of opening backticks */
			while (i < size && data[i] == '`') {
				i++; span_nb++;
			}

			if (i >= size) return 0;

			/* finding the matching closing sequence */
			bt = 0;
			while (i < size && bt < span_nb) {
				if (!tmp_i && data[i] == c) tmp_i = i;
				if (data[i] == '`') bt++;
				else bt = 0;
				i++;
			}

			/* not a well-formed codespan; use found matching emph char */
			if (bt < span_nb && i >= size) return tmp_i;
		}
		/* skipping a link */
		else if (data[i] == '[') {
			size_t tmp_i = 0;
			uint8_t cc;

			i++;
			while (i < size && data[i] != ']') {
				if (!tmp_i && data[i] == c) tmp_i = i;
				i++;
			}

			i++;
			while (i < size && _isspace(data[i]))
				i++;

			if (i >= size)
				return tmp_i;

			switch (data[i]) {
			case '[':
				cc = ']'; break;

			case '(':
				cc = ')'; break;

			default:
				if (tmp_i)
					return tmp_i;
				else
					continue;
			}

			i++;
			while (i < size && data[i] != cc) {
				if (!tmp_i && data[i] == c) tmp_i = i;
				i++;
			}

			if (i >= size)
				return tmp_i;

			i++;
		}
	}

	return 0;
}

/* parse_emph1 • parsing single emphase */
/* closed by a symbol not preceded by spacing and not followed by symbol */
static size_t
parse_emph1(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size, uint8_t c)
{
	size_t i = 0, len;
	hoedown_buffer *work = 0;
	int r;

	/* skipping one symbol if coming from emph3 */
	if (size > 1 && data[0] == c && data[1] == c) i = 1;

	while (i < size) {
		len = find_emph_char(data + i, size - i, c);
		if (!len) return 0;
		i += len;
		if (i >= size) return 0;

		if (data[i] == c && !_isspace(data[i - 1])) {

			if (doc->ext_flags & HOEDOWN_EXT_NO_INTRA_EMPHASIS) {
				if (i + 1 < size && isalnum(data[i + 1]))
					continue;
			}

			work = newbuf(doc, BUFFER_SPAN);
			parse_inline(work, doc, data, i);

			if (doc->ext_flags & HOEDOWN_EXT_UNDERLINE && c == '_')
				r = doc->md.underline(ob, work, &doc->data);
			else
				r = doc->md.emphasis(ob, work, &doc->data);

			popbuf(doc, BUFFER_SPAN);
			return r ? i + 1 : 0;
		}
	}

	return 0;
}

/* parse_emph2 • parsing single emphase */
static size_t
parse_emph2(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size, uint8_t c)
{
	size_t i = 0, len;
	hoedown_buffer *work = 0;
	int r;

	while (i < size) {
		len = find_emph_char(data + i, size - i, c);
		if (!len) return 0;
		i += len;

		if (i + 1 < size && data[i] == c && data[i + 1] == c && i && !_isspace(data[i - 1])) {
			work = newbuf(doc, BUFFER_SPAN);
			parse_inline(work, doc, data, i);

			if (c == '~')
				r = doc->md.strikethrough(ob, work, &doc->data);
			else if (c == '=')
				r = doc->md.highlight(ob, work, &doc->data);
			else
				r = doc->md.double_emphasis(ob, work, &doc->data);

			popbuf(doc, BUFFER_SPAN);
			return r ? i + 2 : 0;
		}
		i++;
	}
	return 0;
}

/* parse_emph3 • parsing single emphase */
/* finds the first closing tag, and delegates to the other emph */
static size_t
parse_emph3(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size, uint8_t c)
{
	size_t i = 0, len;
	int r;

	while (i < size) {
		len = find_emph_char(data + i, size - i, c);
		if (!len) return 0;
		i += len;

		/* skip spacing preceded symbols */
		if (data[i] != c || _isspace(data[i - 1]))
			continue;

		if (i + 2 < size && data[i + 1] == c && data[i + 2] == c && doc->md.triple_emphasis) {
			/* triple symbol found */
			hoedown_buffer *work = newbuf(doc, BUFFER_SPAN);

			parse_inline(work, doc, data, i);
			r = doc->md.triple_emphasis(ob, work, &doc->data);
			popbuf(doc, BUFFER_SPAN);
			return r ? i + 3 : 0;

		} else if (i + 1 < size && data[i + 1] == c) {
			/* double symbol found, handing over to emph1 */
			len = parse_emph1(ob, doc, data - 2, size + 2, c);
			if (!len) return 0;
			else return len - 2;

		} else {
			/* single symbol found, handing over to emph2 */
			len = parse_emph2(ob, doc, data - 1, size + 1, c);
			if (!len) return 0;
			else return len - 1;
		}
	}
	return 0;
}

/* parse_math • parses a math span until the given ending delimiter */
static size_t
parse_math(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size, const char *end, size_t delimsz, int displaymode)
{
	hoedown_buffer text = { NULL, 0, 0, 0, NULL, NULL, NULL };
	size_t i = delimsz;

	if (!doc->md.math)
		return 0;

	/* find ending delimiter */
	while (1) {
		while (i < size && data[i] != (uint8_t)end[0])
			i++;

		if (i >= size)
			return 0;

		if (!is_escaped(data, i) && !(i + delimsz > size)
			&& memcmp(data + i, end, delimsz) == 0)
			break;

		i++;
	}

	/* prepare buffers */
	text.data = data + delimsz;
	text.size = i - delimsz;

	/* if this is a $$ and MATH_EXPLICIT is not active,
	 * guess whether displaymode should be enabled from the context */
	i += delimsz;
	if (delimsz == 2 && !(doc->ext_flags & HOEDOWN_EXT_MATH_EXPLICIT))
		displaymode = is_empty_all(data - offset, offset) && is_empty_all(data + i, size - i);

	/* call callback */
	if (doc->md.math(ob, &text, displaymode, &doc->data))
		return i;

	return 0;
}

/* char_emphasis • single and double emphasis parsing */
static size_t
char_emphasis(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	uint8_t c = data[0];
	size_t ret;

	if (doc->ext_flags & HOEDOWN_EXT_NO_INTRA_EMPHASIS) {
		if (offset > 0 && !_isspace(data[-1]) && data[-1] != '>' && data[-1] != '(')
			return 0;
	}

	if (size > 2 && data[1] != c) {
		/* spacing cannot follow an opening emphasis;
		 * strikethrough and highlight only takes two characters '~~' */
		if (c == '~' || c == '=' || _isspace(data[1]) || (ret = parse_emph1(ob, doc, data + 1, size - 1, c)) == 0)
			return 0;

		return ret + 1;
	}

	if (size > 3 && data[1] == c && data[2] != c) {
		if (_isspace(data[2]) || (ret = parse_emph2(ob, doc, data + 2, size - 2, c)) == 0)
			return 0;

		return ret + 2;
	}

	if (size > 4 && data[1] == c && data[2] == c && data[3] != c) {
		if (c == '~' || c == '=' || _isspace(data[3]) || (ret = parse_emph3(ob, doc, data + 3, size - 3, c)) == 0)
			return 0;

		return ret + 3;
	}

	return 0;
}


/* char_linebreak • '\n' preceded by two spaces (assuming linebreak != 0) */
static size_t
char_linebreak(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	if (offset < 2 || data[-1] != ' ' || data[-2] != ' ')
		return 0;

	/* removing the last space from ob and rendering */
	while (ob->size && ob->data[ob->size - 1] == ' ')
		ob->size--;

	return doc->md.linebreak(ob, &doc->data) ? 1 : 0;
}


/* char_codespan • '`' parsing a code span (assuming codespan != 0) */
static size_t
char_codespan(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	hoedown_buffer work = { NULL, 0, 0, 0, NULL, NULL, NULL };
	size_t end, nb = 0, i, f_begin, f_end;

	/* counting the number of backticks in the delimiter */
	while (nb < size && data[nb] == '`')
		nb++;

	/* finding the next delimiter */
	i = 0;
	for (end = nb; end < size && i < nb; end++) {
		if (data[end] == '`') i++;
		else i = 0;
	}

	if (i < nb && end >= size)
		return 0; /* no matching delimiter */

	/* trimming outside spaces */
	f_begin = nb;
	while (f_begin < end && data[f_begin] == ' ')
		f_begin++;

	f_end = end - nb;
	while (f_end > nb && data[f_end-1] == ' ')
		f_end--;

	/* real code span */
	if (f_begin < f_end) {
		work.data = data + f_begin;
		work.size = f_end - f_begin;

		if (!doc->md.codespan(ob, &work, &doc->data))
			end = 0;
	} else {
		if (!doc->md.codespan(ob, 0, &doc->data))
			end = 0;
	}

	return end;
}

/* char_quote • '"' parsing a quote */
static size_t
char_quote(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	size_t end, nq = 0, i, f_begin, f_end;

	/* counting the number of quotes in the delimiter */
	while (nq < size && data[nq] == '"')
		nq++;

	/* finding the next delimiter */
	end = nq;
	while (1) {
		i = end;
		end += find_emph_char(data + end, size - end, '"');
		if (end == i) return 0;		/* no matching delimiter */
		i = end;
		while (end < size && data[end] == '"' && end - i < nq) end++;
		if (end - i >= nq) break;
	}

	/* trimming outside spaces */
	f_begin = nq;
	while (f_begin < end && data[f_begin] == ' ')
		f_begin++;

	f_end = end - nq;
	while (f_end > nq && data[f_end-1] == ' ')
		f_end--;

	/* real quote */
	if (f_begin < f_end) {
		hoedown_buffer *work = newbuf(doc, BUFFER_SPAN);
		parse_inline(work, doc, data + f_begin, f_end - f_begin);

		if (!doc->md.quote(ob, work, &doc->data))
			end = 0;
		popbuf(doc, BUFFER_SPAN);
	} else {
		if (!doc->md.quote(ob, 0, &doc->data))
			end = 0;
	}

	return end;
}


/* char_escape • '\\' backslash escape */
static size_t
char_escape(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	static const char *escape_chars = "\\`*_{}[]()#+-.!:|&<>^~=\"$";
	hoedown_buffer work = { 0, 0, 0, 0, NULL, NULL, NULL };
	size_t w;

	if (size > 1) {
		if (data[1] == '\\' && (doc->ext_flags & HOEDOWN_EXT_MATH) &&
			size > 2 && (data[2] == '(' || data[2] == '[')) {
			const char *end = (data[2] == '[') ? "\\\\]" : "\\\\)";
			w = parse_math(ob, doc, data, offset, size, end, 3, data[2] == '[');
			if (w) return w;
		}

		if (strchr(escape_chars, data[1]) == NULL)
			return 0;

		if (doc->md.normal_text) {
			work.data = data + 1;
			work.size = 1;
			doc->md.normal_text(ob, &work, &doc->data);
		}
		else hoedown_buffer_putc(ob, data[1]);
	} else if (size == 1) {
		if (doc->md.normal_text) {
			work.data = data;
			work.size = 1;
			doc->md.normal_text(ob, &work, &doc->data);
		}
		else hoedown_buffer_putc(ob, data[0]);
	}

	return 2;
}

/* char_entity • '&' escaped when it doesn't belong to an entity */
/* valid entities are assumed to be anything matching &#?[A-Za-z0-9]+; */
static size_t
char_entity(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	size_t end = 1;
	hoedown_buffer work = { 0, 0, 0, 0, NULL, NULL, NULL };

	if (end < size && data[end] == '#')
		end++;

	while (end < size && isalnum(data[end]))
		end++;

	if (end < size && data[end] == ';')
		end++; /* real entity */
	else
		return 0; /* lone '&' */

	if (doc->md.entity) {
		work.data = data;
		work.size = end;
		doc->md.entity(ob, &work, &doc->data);
	}
	else hoedown_buffer_put(ob, data, end);

	return end;
}

/* char_langle_tag • '<' when tags or autolinks are allowed */
static size_t
char_langle_tag(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	hoedown_buffer work = { NULL, 0, 0, 0, NULL, NULL, NULL };
	hoedown_autolink_type altype = HOEDOWN_AUTOLINK_NONE;
	size_t end = tag_length(data, size, &altype);
	int ret = 0;

	work.data = data;
	work.size = end;

	if (end > 2) {
		if (doc->md.autolink && altype != HOEDOWN_AUTOLINK_NONE) {
			hoedown_buffer *u_link = newbuf(doc, BUFFER_SPAN);
			work.data = data + 1;
			work.size = end - 2;
			unscape_text(u_link, &work);
			ret = doc->md.autolink(ob, u_link, altype, &doc->data);
			popbuf(doc, BUFFER_SPAN);
		}
		else if (doc->md.raw_html)
			ret = doc->md.raw_html(ob, &work, &doc->data);
	}

	if (!ret) return 0;
	else return end;
}

static size_t
char_autolink_www(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	hoedown_buffer *link, *link_url, *link_text;
	size_t link_len, rewind;

	if (!doc->md.link || doc->in_link_body)
		return 0;

	link = newbuf(doc, BUFFER_SPAN);

	if ((link_len = hoedown_autolink__www(&rewind, link, data, offset, size, HOEDOWN_AUTOLINK_SHORT_DOMAINS)) > 0) {
		link_url = newbuf(doc, BUFFER_SPAN);
		HOEDOWN_BUFPUTSL(link_url, "http://");
		hoedown_buffer_put(link_url, link->data, link->size);

		if (ob->size > rewind)
			ob->size -= rewind;
		else
			ob->size = 0;

		if (doc->md.normal_text) {
			link_text = newbuf(doc, BUFFER_SPAN);
			doc->md.normal_text(link_text, link, &doc->data);
			doc->md.link(ob, link_text, link_url, NULL, &doc->data);
			popbuf(doc, BUFFER_SPAN);
		} else {
			doc->md.link(ob, link, link_url, NULL, &doc->data);
		}
		popbuf(doc, BUFFER_SPAN);
	}

	popbuf(doc, BUFFER_SPAN);
	return link_len;
}

static size_t
char_autolink_email(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	hoedown_buffer *link;
	size_t link_len, rewind;

	if (!doc->md.autolink || doc->in_link_body)
		return 0;

	link = newbuf(doc, BUFFER_SPAN);

	if ((link_len = hoedown_autolink__email(&rewind, link, data, offset, size, 0)) > 0) {
		if (ob->size > rewind)
			ob->size -= rewind;
		else
			ob->size = 0;

		doc->md.autolink(ob, link, HOEDOWN_AUTOLINK_EMAIL, &doc->data);
	}

	popbuf(doc, BUFFER_SPAN);
	return link_len;
}

static size_t
char_autolink_url(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	hoedown_buffer *link;
	size_t link_len, rewind;

	if (!doc->md.autolink || doc->in_link_body)
		return 0;

	link = newbuf(doc, BUFFER_SPAN);

	if ((link_len = hoedown_autolink__url(&rewind, link, data, offset, size, 0)) > 0) {
		if (ob->size > rewind)
			ob->size -= rewind;
		else
			ob->size = 0;

		doc->md.autolink(ob, link, HOEDOWN_AUTOLINK_NORMAL, &doc->data);
	}

	popbuf(doc, BUFFER_SPAN);
	return link_len;
}

static size_t
char_image(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size) {
	size_t ret;

	if (size < 2 || data[1] != '[') return 0;

	ret = char_link(ob, doc, data + 1, offset + 1, size - 1);
	if (!ret) return 0;
	return ret + 1;
}

static size_t
char_media(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size) {
    size_t ret;

    if (size < 2 || data[1] != '[') return 0;

    ret = char_link(ob, doc, data + 1, offset + 1, size - 1);
    if (!ret) return 0;
    return ret + 1;
}

/* char_link • '[': parsing a link, a footnote or an image */
static size_t
char_link(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
    int is_img = (offset && data[-1] == '!' && !is_escaped(data - offset, offset - 1));
    int is_media = (offset && data[-1] == '@' && !is_escaped(data - offset, offset - 1));
	int is_footnote = (doc->ext_flags & HOEDOWN_EXT_FOOTNOTES && data[1] == '^');
	size_t i = 1, txt_e, link_b = 0, link_e = 0, title_b = 0, title_e = 0;
	hoedown_buffer *content = NULL;
	hoedown_buffer *link = NULL;
	hoedown_buffer *title = NULL;
	hoedown_buffer *u_link = NULL;
	size_t org_work_size = doc->work_bufs[BUFFER_SPAN].size;
	int ret = 0, in_title = 0, qtype = 0;

	/* checking whether the correct renderer exists */
	if ((is_footnote && !doc->md.footnote_ref)
        || (is_img && !doc->md.image)
        || (is_media && !doc->md.media)
		|| (!is_img && !is_footnote && !doc->md.link))
		goto cleanup;

	/* looking for the matching closing bracket */
	i += find_emph_char(data + i, size - i, ']');
	txt_e = i;

	if (i < size && data[i] == ']') i++;
	else goto cleanup;

	/* footnote link */
	if (is_footnote) {
		hoedown_buffer id = { NULL, 0, 0, 0, NULL, NULL, NULL };
		struct footnote_ref *fr;

		if (txt_e < 3)
			goto cleanup;

		id.data = data + 2;
		id.size = txt_e - 2;

		fr = find_footnote_ref(&doc->footnotes_found, id.data, id.size);

		/* mark footnote used */
		if (fr && !fr->is_used) {
			if(!add_footnote_ref(&doc->footnotes_used, fr))
				goto cleanup;
			fr->is_used = 1;
			fr->num = doc->footnotes_used.count;

			/* render */
			if (doc->md.footnote_ref)
				ret = doc->md.footnote_ref(ob, fr->num, &doc->data);
		}

		goto cleanup;
	}

	/* skip any amount of spacing */
	/* (this is much more laxist than original markdown syntax) */
	while (i < size && _isspace(data[i]))
		i++;

	/* inline style link */
	if (i < size && data[i] == '(') {
		size_t nb_p;

		/* skipping initial spacing */
		i++;

		while (i < size && _isspace(data[i]))
			i++;

		link_b = i;

		/* looking for link end: ' " ) */
		/* Count the number of open parenthesis */
		nb_p = 0;

		while (i < size) {
			if (data[i] == '\\') i += 2;
			else if (data[i] == '(' && i != 0) {
				nb_p++; i++;
			}
			else if (data[i] == ')') {
				if (nb_p == 0) break;
				else nb_p--; i++;
			} else if (i >= 1 && _isspace(data[i-1]) && (data[i] == '\'' || data[i] == '"')) break;
			else i++;
		}

		if (i >= size) goto cleanup;
		link_e = i;

		/* looking for title end if present */
		if (data[i] == '\'' || data[i] == '"') {
			qtype = data[i];
			in_title = 1;
			i++;
			title_b = i;

			while (i < size) {
				if (data[i] == '\\') i += 2;
				else if (data[i] == qtype) {in_title = 0; i++;}
				else if ((data[i] == ')') && !in_title) break;
				else i++;
			}

			if (i >= size) goto cleanup;

			/* skipping spacing after title */
			title_e = i - 1;
			while (title_e > title_b && _isspace(data[title_e]))
				title_e--;

			/* checking for closing quote presence */
			if (data[title_e] != '\'' &&  data[title_e] != '"') {
				title_b = title_e = 0;
				link_e = i;
			}
		}

		/* remove spacing at the end of the link */
		while (link_e > link_b && _isspace(data[link_e - 1]))
			link_e--;

		/* remove optional angle brackets around the link */
		if (data[link_b] == '<' && data[link_e - 1] == '>') {
			link_b++;
			link_e--;
		}

		/* building escaped link and title */
		if (link_e > link_b) {
			link = newbuf(doc, BUFFER_SPAN);
			hoedown_buffer_put(link, data + link_b, link_e - link_b);
		}

		if (title_e > title_b) {
			title = newbuf(doc, BUFFER_SPAN);
			hoedown_buffer_put(title, data + title_b, title_e - title_b);
		}

		i++;
	}

	/* reference style link */
	else if (i < size && data[i] == '[') {
		hoedown_buffer *id = newbuf(doc, BUFFER_SPAN);
		struct link_ref *lr;

		/* looking for the id */
		i++;
		link_b = i;
		while (i < size && data[i] != ']') i++;
		if (i >= size) goto cleanup;
		link_e = i;

		/* finding the link_ref */
		if (link_b == link_e)
			replace_spacing(id, data + 1, txt_e - 1);
		else
			hoedown_buffer_put(id, data + link_b, link_e - link_b);

		lr = find_link_ref(doc->refs, id->data, id->size);
		if (!lr)
			goto cleanup;

		/* keeping link and title from link_ref */
		link = lr->link;
		title = lr->title;
		i++;
	}

	/* shortcut reference style link */
	else {
		hoedown_buffer *id = newbuf(doc, BUFFER_SPAN);
		struct link_ref *lr;

		/* crafting the id */
		replace_spacing(id, data + 1, txt_e - 1);

		/* finding the link_ref */
		lr = find_link_ref(doc->refs, id->data, id->size);
		if (!lr)
			goto cleanup;

		/* keeping link and title from link_ref */
		link = lr->link;
		title = lr->title;

		/* rewinding the spacing */
		i = txt_e + 1;
	}

	/* building content: img alt is kept, only link content is parsed */
	if (txt_e > 1) {
		content = newbuf(doc, BUFFER_SPAN);
		if (is_img) {
			hoedown_buffer_put(content, data + 1, txt_e - 1);
		} else {
			/* disable autolinking when parsing inline the
			 * content of a link */
			doc->in_link_body = 1;
			parse_inline(content, doc, data + 1, txt_e - 1);
			doc->in_link_body = 0;
		}
	}

	if (link) {
		u_link = newbuf(doc, BUFFER_SPAN);
		unscape_text(u_link, link);
	}

	/* calling the relevant rendering function */
	if (is_img) {
		ret = doc->md.image(ob, u_link, title, content, &doc->data);
	} else if (is_media) {
        ret = doc->md.media(ob, u_link, title, content, &doc->data);
    } else {
		ret = doc->md.link(ob, content, u_link, title, &doc->data);
	}

	/* cleanup */
cleanup:
	doc->work_bufs[BUFFER_SPAN].size = (int)org_work_size;
	return ret ? i : 0;
}

static size_t
char_superscript(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	size_t sup_start, sup_len;
	hoedown_buffer *sup;

	if (!doc->md.superscript)
		return 0;

	if (size < 2)
		return 0;

	if (data[1] == '(') {
		sup_start = 2;
		sup_len = find_emph_char(data + 2, size - 2, ')') + 2;

		if (sup_len == size)
			return 0;
	} else {
		sup_start = sup_len = 1;

		while (sup_len < size && !_isspace(data[sup_len]))
			sup_len++;
	}

	if (sup_len - sup_start == 0)
		return (sup_start == 2) ? 3 : 0;

	sup = newbuf(doc, BUFFER_SPAN);
	parse_inline(sup, doc, data + sup_start, sup_len - sup_start);
	doc->md.superscript(ob, sup, &doc->data);
	popbuf(doc, BUFFER_SPAN);

	return (sup_start == 2) ? sup_len + 1 : sup_len;
}

static size_t
char_math(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t offset, size_t size)
{
	/* double dollar */
	if (size > 1 && data[1] == '$')
		return parse_math(ob, doc, data, offset, size, "$$", 2, 1);

	/* single dollar allowed only with MATH_EXPLICIT flag */
	if (doc->ext_flags & HOEDOWN_EXT_MATH_EXPLICIT)
		return parse_math(ob, doc, data, offset, size, "$", 1, 0);

	return 0;
}

/*********************************
 * BLOCK-LEVEL PARSING FUNCTIONS *
 *********************************/

/* is_empty • returns the line length when it is empty, 0 otherwise */
static size_t
is_empty(const uint8_t *data, size_t size)
{
	size_t i;

	for (i = 0; i < size && data[i] != '\n'; i++)
		if (data[i] != ' ')
			return 0;

	return i + 1;
}

/* is_hrule • returns whether a line is a horizontal rule */
static int
is_hrule(uint8_t *data, size_t size)
{
	size_t i = 0, n = 0;
	uint8_t c;

	/* skipping initial spaces */
	if (size < 3) return 0;
	if (data[0] == ' ') { i++;
	if (data[1] == ' ') { i++;
	if (data[2] == ' ') { i++; } } }

	/* looking at the hrule uint8_t */
	if (i + 2 >= size
	|| (data[i] != '*' && data[i] != '-' && data[i] != '_'))
		return 0;
	c = data[i];

	/* the whole line must be the char or space */
	while (i < size && data[i] != '\n') {
		if (data[i] == c) n++;
		else if (data[i] != ' ')
			return 0;

		i++;
	}

	return n >= 3;
}

/* check if a line is a code fence; return the
 * end of the code fence. if passed, width of
 * the fence rule and character will be returned */
static size_t
is_codefence(uint8_t *data, size_t size, size_t *width, uint8_t *chr)
{
	size_t i = 0, n = 1;
	uint8_t c;

	/* skipping initial spaces */
	if (size < 3)
		return 0;

	if (data[0] == ' ') { i++;
	if (data[1] == ' ') { i++;
	if (data[2] == ' ') { i++; } } }

	/* looking at the hrule uint8_t */
	c = data[i];
	if (i + 2 >= size || !(c=='~' || c=='`'))
		return 0;

	/* the fence must be that same character */
	while (++i < size && data[i] == c)
		++n;

	if (n < 3)
		return 0;

	if (width) *width = n;
	if (chr) *chr = c;
	return i;
}

/* expects single line, checks if it's a codefence and extracts language */
static size_t
parse_codefence(uint8_t *data, size_t size, hoedown_buffer *lang, size_t *width, uint8_t *chr)
{
	size_t i, w, lang_start;

	i = w = is_codefence(data, size, width, chr);
	if (i == 0)
		return 0;

	while (i < size && _isspace(data[i]))
		i++;

	lang_start = i;

	while (i < size && !_isspace(data[i]))
		i++;

	lang->data = data + lang_start;
	lang->size = i - lang_start;

	/* Avoid parsing a codespan as a fence */
	i = lang_start + 2;
	while (i < size && !(data[i] == *chr && data[i-1] == *chr && data[i-2] == *chr)) i++;
	if (i < size) return 0;

	return w;
}

/* is_atxheader • returns whether the line is a hash-prefixed header */
static int
is_atxheader(hoedown_document *doc, uint8_t *data, size_t size)
{
	if (data[0] != '#')
		return 0;

	if (doc->ext_flags & HOEDOWN_EXT_SPACE_HEADERS) {
		size_t level = 0;

		while (level < size && level < 6 && data[level] == '#')
			level++;

		if (level < size && data[level] != ' ')
			return 0;
	}

	return 1;
}

/* is_headerline • returns whether the line is a setext-style hdr underline */
static int
is_headerline(uint8_t *data, size_t size)
{
	size_t i = 0;

	/* test of level 1 header */
	if (data[i] == '=') {
		for (i = 1; i < size && data[i] == '='; i++);
		while (i < size && data[i] == ' ') i++;
		return (i >= size || data[i] == '\n') ? 1 : 0; }

	/* test of level 2 header */
	if (data[i] == '-') {
		for (i = 1; i < size && data[i] == '-'; i++);
		while (i < size && data[i] == ' ') i++;
		return (i >= size || data[i] == '\n') ? 2 : 0; }

	return 0;
}

static int
is_next_headerline(uint8_t *data, size_t size)
{
	size_t i = 0;

	while (i < size && data[i] != '\n')
		i++;

	if (++i >= size)
		return 0;

	return is_headerline(data + i, size - i);
}

/* prefix_quote • returns blockquote prefix length */
static size_t
prefix_quote(uint8_t *data, size_t size)
{
	size_t i = 0;
	if (i < size && data[i] == ' ') i++;
	if (i < size && data[i] == ' ') i++;
	if (i < size && data[i] == ' ') i++;

	if (i < size && data[i] == '>') {
		if (i + 1 < size && data[i + 1] == ' ')
			return i + 2;

		return i + 1;
	}

	return 0;
}

/* prefix_code • returns prefix length for block code*/
static size_t
prefix_code(uint8_t *data, size_t size)
{
	if (size > 3 && data[0] == ' ' && data[1] == ' '
		&& data[2] == ' ' && data[3] == ' ') return 4;

	return 0;
}

/* prefix_oli • returns ordered list item prefix */
static size_t
prefix_oli(uint8_t *data, size_t size)
{
	size_t i = 0;

	if (i < size && data[i] == ' ') i++;
	if (i < size && data[i] == ' ') i++;
	if (i < size && data[i] == ' ') i++;

	if (i >= size || data[i] < '0' || data[i] > '9')
		return 0;

	while (i < size && data[i] >= '0' && data[i] <= '9')
		i++;

	if (i + 1 >= size || data[i] != '.' || data[i + 1] != ' ')
		return 0;

	if (is_next_headerline(data + i, size - i))
		return 0;

	return i + 2;
}

/* prefix_uli • returns ordered list item prefix */
static size_t
prefix_uli(uint8_t *data, size_t size)
{
	size_t i = 0;

	if (i < size && data[i] == ' ') i++;
	if (i < size && data[i] == ' ') i++;
	if (i < size && data[i] == ' ') i++;

	if (i + 1 >= size ||
		(data[i] != '*' && data[i] != '+' && data[i] != '-') ||
		data[i + 1] != ' ')
		return 0;

	if (is_next_headerline(data + i, size - i))
		return 0;

	return i + 2;
}


/* parse_block • parsing of one block, returning next uint8_t to parse */
static void parse_block(hoedown_buffer *ob, hoedown_document *doc,
			uint8_t *data, size_t size);


/* parse_blockquote • handles parsing of a blockquote fragment */
static size_t
parse_blockquote(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size)
{
	size_t beg, end = 0, pre, work_size = 0;
	uint8_t *work_data = 0;
	hoedown_buffer *out = 0;

	out = newbuf(doc, BUFFER_BLOCK);
	beg = 0;
	while (beg < size) {
		for (end = beg + 1; end < size && data[end - 1] != '\n'; end++);

		pre = prefix_quote(data + beg, end - beg);

		if (pre)
			beg += pre; /* skipping prefix */

		/* empty line followed by non-quote line */
		else if (is_empty(data + beg, end - beg) &&
				(end >= size || (prefix_quote(data + end, size - end) == 0 &&
				!is_empty(data + end, size - end))))
			break;

		if (beg < end) { /* copy into the in-place working buffer */
			/* hoedown_buffer_put(work, data + beg, end - beg); */
			if (!work_data)
				work_data = data + beg;
			else if (data + beg != work_data + work_size)
				memmove(work_data + work_size, data + beg, end - beg);
			work_size += end - beg;
		}
		beg = end;
	}

	parse_block(out, doc, work_data, work_size);
	if (doc->md.blockquote)
		doc->md.blockquote(ob, out, &doc->data);
	popbuf(doc, BUFFER_BLOCK);
	return end;
}

static size_t
parse_htmlblock(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size, int do_render);

/* parse_blockquote • handles parsing of a regular paragraph */
static size_t
parse_paragraph(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size)
{
	hoedown_buffer work = { NULL, 0, 0, 0, NULL, NULL, NULL };
	size_t i = 0, end = 0;
	int level = 0;

	work.data = data;

	while (i < size) {
		for (end = i + 1; end < size && data[end - 1] != '\n'; end++) /* empty */;

		if (is_empty(data + i, size - i))
			break;

		if ((level = is_headerline(data + i, size - i)) != 0)
			break;

		if (is_atxheader(doc, data + i, size - i) ||
			is_hrule(data + i, size - i) ||
			prefix_quote(data + i, size - i)) {
			end = i;
			break;
		}

		i = end;
	}

	work.size = i;
	while (work.size && data[work.size - 1] == '\n')
		work.size--;

	if (!level) {
		hoedown_buffer *tmp = newbuf(doc, BUFFER_BLOCK);
		parse_inline(tmp, doc, work.data, work.size);
		if (doc->md.paragraph)
			doc->md.paragraph(ob, tmp, &doc->data);
		popbuf(doc, BUFFER_BLOCK);
	} else {
		hoedown_buffer *header_work;

		if (work.size) {
			size_t beg;
			i = work.size;
			work.size -= 1;

			while (work.size && data[work.size] != '\n')
				work.size -= 1;

			beg = work.size + 1;
			while (work.size && data[work.size - 1] == '\n')
				work.size -= 1;

			if (work.size > 0) {
				hoedown_buffer *tmp = newbuf(doc, BUFFER_BLOCK);
				parse_inline(tmp, doc, work.data, work.size);

				if (doc->md.paragraph)
					doc->md.paragraph(ob, tmp, &doc->data);

				popbuf(doc, BUFFER_BLOCK);
				work.data += beg;
				work.size = i - beg;
			}
			else work.size = i;
		}

		header_work = newbuf(doc, BUFFER_SPAN);
		parse_inline(header_work, doc, work.data, work.size);

		if (doc->md.header)
			doc->md.header(ob, header_work, (int)level, &doc->data);

		popbuf(doc, BUFFER_SPAN);
	}

	return end;
}

/* parse_fencedcode • handles parsing of a block-level code fragment */
static size_t
parse_fencedcode(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size)
{
	hoedown_buffer text = { 0, 0, 0, 0, NULL, NULL, NULL };
	hoedown_buffer lang = { 0, 0, 0, 0, NULL, NULL, NULL };
	size_t i = 0, text_start, line_start;
	size_t w, w2;
	size_t width, width2;
	uint8_t chr, chr2;

	/* parse codefence line */
	while (i < size && data[i] != '\n')
		i++;

	w = parse_codefence(data, i, &lang, &width, &chr);
	if (!w)
		return 0;

	/* search for end */
	i++;
	text_start = i;
	while ((line_start = i) < size) {
		while (i < size && data[i] != '\n')
			i++;

		w2 = is_codefence(data + line_start, i - line_start, &width2, &chr2);
		if (w == w2 && width == width2 && chr == chr2 &&
		    is_empty(data + (line_start+w), i - (line_start+w)))
			break;

		i++;
	}

	text.data = data + text_start;
	text.size = line_start - text_start;

	if (doc->md.blockcode)
		doc->md.blockcode(ob, text.size ? &text : NULL, lang.size ? &lang : NULL, &doc->data);

	return i;
}

static size_t
parse_blockcode(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size)
{
	size_t beg, end, pre;
	hoedown_buffer *work = 0;

	work = newbuf(doc, BUFFER_BLOCK);

	beg = 0;
	while (beg < size) {
		for (end = beg + 1; end < size && data[end - 1] != '\n'; end++) {};
		pre = prefix_code(data + beg, end - beg);

		if (pre)
			beg += pre; /* skipping prefix */
		else if (!is_empty(data + beg, end - beg))
			/* non-empty non-prefixed line breaks the pre */
			break;

		if (beg < end) {
			/* verbatim copy to the working buffer,
				escaping entities */
			if (is_empty(data + beg, end - beg))
				hoedown_buffer_putc(work, '\n');
			else hoedown_buffer_put(work, data + beg, end - beg);
		}
		beg = end;
	}

	while (work->size && work->data[work->size - 1] == '\n')
		work->size -= 1;

	hoedown_buffer_putc(work, '\n');

	if (doc->md.blockcode)
		doc->md.blockcode(ob, work, NULL, &doc->data);

	popbuf(doc, BUFFER_BLOCK);
	return beg;
}

/* parse_listitem • parsing of a single list item */
/*	assuming initial prefix is already removed */
static size_t
parse_listitem(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size, hoedown_list_flags *flags)
{
	hoedown_buffer *work = 0, *inter = 0;
	size_t beg = 0, end, pre, sublist = 0, orgpre = 0, i;
	int in_empty = 0, has_inside_empty = 0, in_fence = 0;

	/* keeping track of the first indentation prefix */
	while (orgpre < 3 && orgpre < size && data[orgpre] == ' ')
		orgpre++;

	beg = prefix_uli(data, size);
	if (!beg)
		beg = prefix_oli(data, size);

	if (!beg)
		return 0;

	/* skipping to the beginning of the following line */
	end = beg;
	while (end < size && data[end - 1] != '\n')
		end++;

	/* getting working buffers */
	work = newbuf(doc, BUFFER_SPAN);
	inter = newbuf(doc, BUFFER_SPAN);

	/* putting the first line into the working buffer */
	hoedown_buffer_put(work, data + beg, end - beg);
	beg = end;

	/* process the following lines */
	while (beg < size) {
		size_t has_next_uli = 0, has_next_oli = 0;

		end++;

		while (end < size && data[end - 1] != '\n')
			end++;

		/* process an empty line */
		if (is_empty(data + beg, end - beg)) {
			in_empty = 1;
			beg = end;
			continue;
		}

		/* calculating the indentation */
		i = 0;
		while (i < 4 && beg + i < end && data[beg + i] == ' ')
			i++;

		pre = i;

		if (doc->ext_flags & HOEDOWN_EXT_FENCED_CODE) {
			if (is_codefence(data + beg + i, end - beg - i, NULL, NULL))
				in_fence = !in_fence;
		}

		/* Only check for new list items if we are **not** inside
		 * a fenced code block */
		if (!in_fence) {
			has_next_uli = prefix_uli(data + beg + i, end - beg - i);
			has_next_oli = prefix_oli(data + beg + i, end - beg - i);
		}

		/* checking for a new item */
		if ((has_next_uli && !is_hrule(data + beg + i, end - beg - i)) || has_next_oli) {
			if (in_empty)
				has_inside_empty = 1;

			/* the following item must have the same (or less) indentation */
			if (pre <= orgpre) {
				/* if the following item has different list type, we end this list */
				if (in_empty && (
					((*flags & HOEDOWN_LIST_ORDERED) && has_next_uli) ||
					(!(*flags & HOEDOWN_LIST_ORDERED) && has_next_oli)))
					*flags |= HOEDOWN_LI_END;

				break;
			}

			if (!sublist)
				sublist = work->size;
		}
		/* joining only indented stuff after empty lines;
		 * note that now we only require 1 space of indentation
		 * to continue a list */
		else if (in_empty && pre == 0) {
			*flags |= HOEDOWN_LI_END;
			break;
		}

		if (in_empty) {
			hoedown_buffer_putc(work, '\n');
			has_inside_empty = 1;
			in_empty = 0;
		}

		/* adding the line without prefix into the working buffer */
		hoedown_buffer_put(work, data + beg + i, end - beg - i);
		beg = end;
	}

	/* render of li contents */
	if (has_inside_empty)
		*flags |= HOEDOWN_LI_BLOCK;

	if (*flags & HOEDOWN_LI_BLOCK) {
		/* intermediate render of block li */
		if (sublist && sublist < work->size) {
			parse_block(inter, doc, work->data, sublist);
			parse_block(inter, doc, work->data + sublist, work->size - sublist);
		}
		else
			parse_block(inter, doc, work->data, work->size);
	} else {
		/* intermediate render of inline li */
		if (sublist && sublist < work->size) {
			parse_inline(inter, doc, work->data, sublist);
			parse_block(inter, doc, work->data + sublist, work->size - sublist);
		}
		else
			parse_inline(inter, doc, work->data, work->size);
	}

	/* render of li itself */
	if (doc->md.listitem)
		doc->md.listitem(ob, inter, *flags, &doc->data);

	popbuf(doc, BUFFER_SPAN);
	popbuf(doc, BUFFER_SPAN);
	return beg;
}


/* parse_list • parsing ordered or unordered list block */
static size_t
parse_list(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size, hoedown_list_flags flags)
{
	hoedown_buffer *work = 0;
	size_t i = 0, j;

	work = newbuf(doc, BUFFER_BLOCK);

	while (i < size) {
		j = parse_listitem(work, doc, data + i, size - i, &flags);
		i += j;

		if (!j || (flags & HOEDOWN_LI_END))
			break;
	}

	if (doc->md.list)
		doc->md.list(ob, work, flags, &doc->data);
	popbuf(doc, BUFFER_BLOCK);
	return i;
}

/* parse_atxheader • parsing of atx-style headers */
static size_t
parse_atxheader(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size)
{
	size_t level = 0;
	size_t i, end, skip;

	while (level < size && level < 6 && data[level] == '#')
		level++;

	for (i = level; i < size && data[i] == ' '; i++);

	for (end = i; end < size && data[end] != '\n'; end++);
	skip = end;

	while (end && data[end - 1] == '#')
		end--;

	while (end && data[end - 1] == ' ')
		end--;

	if (end > i) {
		hoedown_buffer *work = newbuf(doc, BUFFER_SPAN);

		parse_inline(work, doc, data + i, end - i);

		if (doc->md.header)
			doc->md.header(ob, work, (int)level, &doc->data);

		popbuf(doc, BUFFER_SPAN);
	}

	return skip;
}

/* parse_footnote_def • parse a single footnote definition */
static void
parse_footnote_def(hoedown_buffer *ob, hoedown_document *doc, unsigned int num, uint8_t *data, size_t size)
{
	hoedown_buffer *work = 0;
	work = newbuf(doc, BUFFER_SPAN);

	parse_block(work, doc, data, size);

	if (doc->md.footnote_def)
	doc->md.footnote_def(ob, work, num, &doc->data);
	popbuf(doc, BUFFER_SPAN);
}

/* parse_footnote_list • render the contents of the footnotes */
static void
parse_footnote_list(hoedown_buffer *ob, hoedown_document *doc, struct footnote_list *footnotes)
{
	hoedown_buffer *work = 0;
	struct footnote_item *item;
	struct footnote_ref *ref;

	if (footnotes->count == 0)
		return;

	work = newbuf(doc, BUFFER_BLOCK);

	item = footnotes->head;
	while (item) {
		ref = item->ref;
		parse_footnote_def(work, doc, ref->num, ref->contents->data, ref->contents->size);
		item = item->next;
	}

	if (doc->md.footnotes)
		doc->md.footnotes(ob, work, &doc->data);
	popbuf(doc, BUFFER_BLOCK);
}

/* htmlblock_is_end • check for end of HTML block : </tag>( *)\n */
/*	returns tag length on match, 0 otherwise */
/*	assumes data starts with "<" */
static size_t
htmlblock_is_end(
	const char *tag,
	size_t tag_len,
	hoedown_document *doc,
	uint8_t *data,
	size_t size)
{
	size_t i = tag_len + 3, w;

	/* try to match the end tag */
	/* note: we're not considering tags like "</tag >" which are still valid */
	if (i > size ||
		data[1] != '/' ||
		strncasecmp((char *)data + 2, tag, tag_len) != 0 ||
		data[tag_len + 2] != '>')
		return 0;

	/* rest of the line must be empty */
	if ((w = is_empty(data + i, size - i)) == 0 && i < size)
		return 0;

	return i + w;
}

/* htmlblock_find_end • try to find HTML block ending tag */
/*	returns the length on match, 0 otherwise */
static size_t
htmlblock_find_end(
	const char *tag,
	size_t tag_len,
	hoedown_document *doc,
	uint8_t *data,
	size_t size)
{
	size_t i = 0, w;

	while (1) {
		while (i < size && data[i] != '<') i++;
		if (i >= size) return 0;

		w = htmlblock_is_end(tag, tag_len, doc, data + i, size - i);
		if (w) return i + w;
		i++;
	}
}

/* htmlblock_find_end_strict • try to find end of HTML block in strict mode */
/*	(it must be an unindented line, and have a blank line afterwads) */
/*	returns the length on match, 0 otherwise */
static size_t
htmlblock_find_end_strict(
	const char *tag,
	size_t tag_len,
	hoedown_document *doc,
	uint8_t *data,
	size_t size)
{
	size_t i = 0, mark;

	while (1) {
		mark = i;
		while (i < size && data[i] != '\n') i++;
		if (i < size) i++;
		if (i == mark) return 0;

		if (data[mark] == ' ' && mark > 0) continue;
		mark += htmlblock_find_end(tag, tag_len, doc, data + mark, i - mark);
		if (mark == i && (is_empty(data + i, size - i) || i >= size)) break;
	}

	return i;
}

/* parse_htmlblock • parsing of inline HTML block */
static size_t
parse_htmlblock(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size, int do_render)
{
	hoedown_buffer work = { NULL, 0, 0, 0, NULL, NULL, NULL };
	size_t i, j = 0, tag_len, tag_end;
	const char *curtag = NULL;

	work.data = data;

	/* identification of the opening tag */
	if (size < 2 || data[0] != '<')
		return 0;

	i = 1;
	while (i < size && data[i] != '>' && data[i] != ' ')
		i++;

	if (i < size)
		curtag = hoedown_find_block_tag((char *)data + 1, (int)i - 1);

	/* handling of special cases */
	if (!curtag) {

		/* HTML comment, laxist form */
		if (size > 5 && data[1] == '!' && data[2] == '-' && data[3] == '-') {
			i = 5;

			while (i < size && !(data[i - 2] == '-' && data[i - 1] == '-' && data[i] == '>'))
				i++;

			i++;

			if (i < size)
				j = is_empty(data + i, size - i);

			if (j) {
				work.size = i + j;
				if (do_render && doc->md.blockhtml)
					doc->md.blockhtml(ob, &work, &doc->data);
				return work.size;
			}
		}

		/* HR, which is the only self-closing block tag considered */
		if (size > 4 && (data[1] == 'h' || data[1] == 'H') && (data[2] == 'r' || data[2] == 'R')) {
			i = 3;
			while (i < size && data[i] != '>')
				i++;

			if (i + 1 < size) {
				i++;
				j = is_empty(data + i, size - i);
				if (j) {
					work.size = i + j;
					if (do_render && doc->md.blockhtml)
						doc->md.blockhtml(ob, &work, &doc->data);
					return work.size;
				}
			}
		}

		/* no special case recognised */
		return 0;
	}

	/* looking for a matching closing tag in strict mode */
	tag_len = strlen(curtag);
	tag_end = htmlblock_find_end_strict(curtag, tag_len, doc, data, size);

	/* if not found, trying a second pass looking for indented match */
	/* but not if tag is "ins" or "del" (following original Markdown.pl) */
	if (!tag_end && strcmp(curtag, "ins") != 0 && strcmp(curtag, "del") != 0)
		tag_end = htmlblock_find_end(curtag, tag_len, doc, data, size);

	if (!tag_end)
		return 0;

	/* the end of the block has been found */
	work.size = tag_end;
	if (do_render && doc->md.blockhtml)
		doc->md.blockhtml(ob, &work, &doc->data);

	return tag_end;
}

static void
parse_table_row(
	hoedown_buffer *ob,
	hoedown_document *doc,
	uint8_t *data,
	size_t size,
	size_t columns,
	hoedown_table_flags *col_data,
	hoedown_table_flags header_flag)
{
	size_t i = 0, col, len;
	hoedown_buffer *row_work = 0;

	if (!doc->md.table_cell || !doc->md.table_row)
		return;

	row_work = newbuf(doc, BUFFER_SPAN);

	if (i < size && data[i] == '|')
		i++;

	for (col = 0; col < columns && i < size; ++col) {
		size_t cell_start, cell_end;
		hoedown_buffer *cell_work;

		cell_work = newbuf(doc, BUFFER_SPAN);

		while (i < size && _isspace(data[i]))
			i++;

		cell_start = i;

		len = find_emph_char(data + i, size - i, '|');

		/* Two possibilities for len == 0:
		   1) No more pipe char found in the current line.
		   2) The next pipe is right after the current one, i.e. empty cell.
		   For case 1, we skip to the end of line; for case 2 we just continue.
		*/
		if (len == 0 && i < size && data[i] != '|')
			len = size - i;
		i += len;

		cell_end = i - 1;

		while (cell_end > cell_start && _isspace(data[cell_end]))
			cell_end--;

		parse_inline(cell_work, doc, data + cell_start, 1 + cell_end - cell_start);
		doc->md.table_cell(row_work, cell_work, col_data[col] | header_flag, &doc->data);

		popbuf(doc, BUFFER_SPAN);
		i++;
	}

	for (; col < columns; ++col) {
		hoedown_buffer empty_cell = { 0, 0, 0, 0, NULL, NULL, NULL };
		doc->md.table_cell(row_work, &empty_cell, col_data[col] | header_flag, &doc->data);
	}

	doc->md.table_row(ob, row_work, &doc->data);

	popbuf(doc, BUFFER_SPAN);
}

static size_t
parse_table_header(
	hoedown_buffer *ob,
	hoedown_document *doc,
	uint8_t *data,
	size_t size,
	size_t *columns,
	hoedown_table_flags **column_data)
{
	int pipes;
	size_t i = 0, col, header_end, under_end;

	pipes = 0;
	while (i < size && data[i] != '\n')
		if (data[i++] == '|')
			pipes++;

	if (i == size || pipes == 0)
		return 0;

	header_end = i;

	while (header_end > 0 && _isspace(data[header_end - 1]))
		header_end--;

	if (data[0] == '|')
		pipes--;

	if (header_end && data[header_end - 1] == '|')
		pipes--;

	if (pipes < 0)
		return 0;

	*columns = pipes + 1;
	*column_data = hoedown_calloc(*columns, sizeof(hoedown_table_flags));

	/* Parse the header underline */
	i++;
	if (i < size && data[i] == '|')
		i++;

	under_end = i;
	while (under_end < size && data[under_end] != '\n')
		under_end++;

	for (col = 0; col < *columns && i < under_end; ++col) {
		size_t dashes = 0;

		while (i < under_end && data[i] == ' ')
			i++;

		if (data[i] == ':') {
			i++; (*column_data)[col] |= HOEDOWN_TABLE_ALIGN_LEFT;
			dashes++;
		}

		while (i < under_end && data[i] == '-') {
			i++; dashes++;
		}

		if (i < under_end && data[i] == ':') {
			i++; (*column_data)[col] |= HOEDOWN_TABLE_ALIGN_RIGHT;
			dashes++;
		}

		while (i < under_end && data[i] == ' ')
			i++;

		if (i < under_end && data[i] != '|' && data[i] != '+')
			break;

		if (dashes < 3)
			break;

		i++;
	}

	if (col < *columns)
		return 0;

	parse_table_row(
		ob, doc, data,
		header_end,
		*columns,
		*column_data,
		HOEDOWN_TABLE_HEADER
	);

	return under_end + 1;
}

static size_t
parse_table(
	hoedown_buffer *ob,
	hoedown_document *doc,
	uint8_t *data,
	size_t size)
{
	size_t i;

	hoedown_buffer *work = 0;
	hoedown_buffer *header_work = 0;
	hoedown_buffer *body_work = 0;

	size_t columns;
	hoedown_table_flags *col_data = NULL;

	work = newbuf(doc, BUFFER_BLOCK);
	header_work = newbuf(doc, BUFFER_SPAN);
	body_work = newbuf(doc, BUFFER_BLOCK);

	i = parse_table_header(header_work, doc, data, size, &columns, &col_data);
	if (i > 0) {

		while (i < size) {
			size_t row_start;
			int pipes = 0;

			row_start = i;

			while (i < size && data[i] != '\n')
				if (data[i++] == '|')
					pipes++;

			if (pipes == 0 || i == size) {
				i = row_start;
				break;
			}

			parse_table_row(
				body_work,
				doc,
				data + row_start,
				i - row_start,
				columns,
				col_data, 0
			);

			i++;
		}

        if (doc->md.table_header)
            doc->md.table_header(work, header_work, &doc->data);

        if (doc->md.table_body)
            doc->md.table_body(work, body_work, &doc->data);

		if (doc->md.table)
			doc->md.table(ob, work, &doc->data);
	}

	free(col_data);
	popbuf(doc, BUFFER_SPAN);
	popbuf(doc, BUFFER_BLOCK);
	popbuf(doc, BUFFER_BLOCK);
	return i;
}

/* parse_block • parsing of one block, returning next uint8_t to parse */
static void
parse_block(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t size)
{
	size_t beg, end, i;
	uint8_t *txt_data;
	beg = 0;

	if (doc->work_bufs[BUFFER_SPAN].size +
		doc->work_bufs[BUFFER_BLOCK].size > doc->max_nesting)
		return;

	while (beg < size) {
		txt_data = data + beg;
		end = size - beg;

		if (is_atxheader(doc, txt_data, end))
			beg += parse_atxheader(ob, doc, txt_data, end);

		else if (data[beg] == '<' && doc->md.blockhtml &&
				(i = parse_htmlblock(ob, doc, txt_data, end, 1)) != 0)
			beg += i;

		else if ((i = is_empty(txt_data, end)) != 0)
			beg += i;

		else if (is_hrule(txt_data, end)) {
			if (doc->md.hrule)
				doc->md.hrule(ob, &doc->data);

			while (beg < size && data[beg] != '\n')
				beg++;

			beg++;
		}

		else if ((doc->ext_flags & HOEDOWN_EXT_FENCED_CODE) != 0 &&
			(i = parse_fencedcode(ob, doc, txt_data, end)) != 0)
			beg += i;

		else if ((doc->ext_flags & HOEDOWN_EXT_TABLES) != 0 &&
			(i = parse_table(ob, doc, txt_data, end)) != 0)
			beg += i;

		else if (prefix_quote(txt_data, end))
			beg += parse_blockquote(ob, doc, txt_data, end);

		else if (!(doc->ext_flags & HOEDOWN_EXT_DISABLE_INDENTED_CODE) && prefix_code(txt_data, end))
			beg += parse_blockcode(ob, doc, txt_data, end);

		else if (prefix_uli(txt_data, end))
			beg += parse_list(ob, doc, txt_data, end, 0);

		else if (prefix_oli(txt_data, end))
			beg += parse_list(ob, doc, txt_data, end, HOEDOWN_LIST_ORDERED);

		else
			beg += parse_paragraph(ob, doc, txt_data, end);
	}
}



/*********************
 * REFERENCE PARSING *
 *********************/

/* is_footnote • returns whether a line is a footnote definition or not */
static int
is_footnote(const uint8_t *data, size_t beg, size_t end, size_t *last, struct footnote_list *list)
{
	size_t i = 0;
	hoedown_buffer *contents = 0;
	size_t ind = 0;
	int in_empty = 0;
	size_t start = 0;

	size_t id_offset, id_end;

	/* up to 3 optional leading spaces */
	if (beg + 3 >= end) return 0;
	if (data[beg] == ' ') { i = 1;
	if (data[beg + 1] == ' ') { i = 2;
	if (data[beg + 2] == ' ') { i = 3;
	if (data[beg + 3] == ' ') return 0; } } }
	i += beg;

	/* id part: caret followed by anything between brackets */
	if (data[i] != '[') return 0;
	i++;
	if (i >= end || data[i] != '^') return 0;
	i++;
	id_offset = i;
	while (i < end && data[i] != '\n' && data[i] != '\r' && data[i] != ']')
		i++;
	if (i >= end || data[i] != ']') return 0;
	id_end = i;

	/* spacer: colon (space | tab)* newline? (space | tab)* */
	i++;
	if (i >= end || data[i] != ':') return 0;
	i++;

	/* getting content buffer */
	contents = hoedown_buffer_new(64);

	start = i;

	/* process lines similar to a list item */
	while (i < end) {
		while (i < end && data[i] != '\n' && data[i] != '\r') i++;

		/* process an empty line */
		if (is_empty(data + start, i - start)) {
			in_empty = 1;
			if (i < end && (data[i] == '\n' || data[i] == '\r')) {
				i++;
				if (i < end && data[i] == '\n' && data[i - 1] == '\r') i++;
			}
			start = i;
			continue;
		}

		/* calculating the indentation */
		ind = 0;
		while (ind < 4 && start + ind < end && data[start + ind] == ' ')
			ind++;

		/* joining only indented stuff after empty lines;
		 * note that now we only require 1 space of indentation
		 * to continue, just like lists */
		if (ind == 0) {
			if (start == id_end + 2 && data[start] == '\t') {}
			else break;
		}
		else if (in_empty) {
			hoedown_buffer_putc(contents, '\n');
		}

		in_empty = 0;

		/* adding the line into the content buffer */
		hoedown_buffer_put(contents, data + start + ind, i - start - ind);
		/* add carriage return */
		if (i < end) {
			hoedown_buffer_putc(contents, '\n');
			if (i < end && (data[i] == '\n' || data[i] == '\r')) {
				i++;
				if (i < end && data[i] == '\n' && data[i - 1] == '\r') i++;
			}
		}
		start = i;
	}

	if (last)
		*last = start;

	if (list) {
		struct footnote_ref *ref;
		ref = create_footnote_ref(list, data + id_offset, id_end - id_offset);
		if (!ref)
			return 0;
		if (!add_footnote_ref(list, ref)) {
			free_footnote_ref(ref);
			return 0;
		}
		ref->contents = contents;
	}

	return 1;
}

/* is_ref • returns whether a line is a reference or not */
static int
is_ref(const uint8_t *data, size_t beg, size_t end, size_t *last, struct link_ref **refs)
{
/*	int n; */
	size_t i = 0;
	size_t id_offset, id_end;
	size_t link_offset, link_end;
	size_t title_offset, title_end;
	size_t line_end;

	/* up to 3 optional leading spaces */
	if (beg + 3 >= end) return 0;
	if (data[beg] == ' ') { i = 1;
	if (data[beg + 1] == ' ') { i = 2;
	if (data[beg + 2] == ' ') { i = 3;
	if (data[beg + 3] == ' ') return 0; } } }
	i += beg;

	/* id part: anything but a newline between brackets */
	if (data[i] != '[') return 0;
	i++;
	id_offset = i;
	while (i < end && data[i] != '\n' && data[i] != '\r' && data[i] != ']')
		i++;
	if (i >= end || data[i] != ']') return 0;
	id_end = i;

	/* spacer: colon (space | tab)* newline? (space | tab)* */
	i++;
	if (i >= end || data[i] != ':') return 0;
	i++;
	while (i < end && data[i] == ' ') i++;
	if (i < end && (data[i] == '\n' || data[i] == '\r')) {
		i++;
		if (i < end && data[i] == '\r' && data[i - 1] == '\n') i++; }
	while (i < end && data[i] == ' ') i++;
	if (i >= end) return 0;

	/* link: spacing-free sequence, optionally between angle brackets */
	if (data[i] == '<')
		i++;

	link_offset = i;

	while (i < end && data[i] != ' ' && data[i] != '\n' && data[i] != '\r')
		i++;

	if (data[i - 1] == '>') link_end = i - 1;
	else link_end = i;

	/* optional spacer: (space | tab)* (newline | '\'' | '"' | '(' ) */
	while (i < end && data[i] == ' ') i++;
	if (i < end && data[i] != '\n' && data[i] != '\r'
			&& data[i] != '\'' && data[i] != '"' && data[i] != '(')
		return 0;
	line_end = 0;
	/* computing end-of-line */
	if (i >= end || data[i] == '\r' || data[i] == '\n') line_end = i;
	if (i + 1 < end && data[i] == '\n' && data[i + 1] == '\r')
		line_end = i + 1;

	/* optional (space|tab)* spacer after a newline */
	if (line_end) {
		i = line_end + 1;
		while (i < end && data[i] == ' ') i++; }

	/* optional title: any non-newline sequence enclosed in '"()
					alone on its line */
	title_offset = title_end = 0;
	if (i + 1 < end
	&& (data[i] == '\'' || data[i] == '"' || data[i] == '(')) {
		i++;
		title_offset = i;
		/* looking for EOL */
		while (i < end && data[i] != '\n' && data[i] != '\r') i++;
		if (i + 1 < end && data[i] == '\n' && data[i + 1] == '\r')
			title_end = i + 1;
		else	title_end = i;
		/* stepping back */
		i -= 1;
		while (i > title_offset && data[i] == ' ')
			i -= 1;
		if (i > title_offset
		&& (data[i] == '\'' || data[i] == '"' || data[i] == ')')) {
			line_end = title_end;
			title_end = i; } }

	if (!line_end || link_end == link_offset)
		return 0; /* garbage after the link empty link */

	/* a valid ref has been found, filling-in return structures */
	if (last)
		*last = line_end;

	if (refs) {
		struct link_ref *ref;

		ref = add_link_ref(refs, data + id_offset, id_end - id_offset);
		if (!ref)
			return 0;

		ref->link = hoedown_buffer_new(link_end - link_offset);
		hoedown_buffer_put(ref->link, data + link_offset, link_end - link_offset);

		if (title_end > title_offset) {
			ref->title = hoedown_buffer_new(title_end - title_offset);
			hoedown_buffer_put(ref->title, data + title_offset, title_end - title_offset);
		}
	}

	return 1;
}

static void expand_tabs(hoedown_buffer *ob, const uint8_t *line, size_t size)
{
	/* This code makes two assumptions:
	 * - Input is valid UTF-8.  (Any byte with top two bits 10 is skipped,
	 *   whether or not it is a valid UTF-8 continuation byte.)
	 * - Input contains no combining characters.  (Combining characters
	 *   should be skipped but are not.)
	 */
	size_t  i = 0, tab = 0;

	while (i < size) {
		size_t org = i;

		while (i < size && line[i] != '\t') {
			/* ignore UTF-8 continuation bytes */
			if ((line[i] & 0xc0) != 0x80)
				tab++;
			i++;
		}

		if (i > org)
			hoedown_buffer_put(ob, line + org, i - org);

		if (i >= size)
			break;

		do {
			hoedown_buffer_putc(ob, ' '); tab++;
		} while (tab % 4);

		i++;
	}
}

/**********************
 * EXPORTED FUNCTIONS *
 **********************/

hoedown_document *
hoedown_document_new(
	const hoedown_renderer *renderer,
	hoedown_extensions extensions,
	size_t max_nesting)
{
	hoedown_document *doc = NULL;

	assert(max_nesting > 0 && renderer);

	doc = hoedown_malloc(sizeof(hoedown_document));
	memcpy(&doc->md, renderer, sizeof(hoedown_renderer));

	doc->data.opaque = renderer->opaque;

	hoedown_stack_init(&doc->work_bufs[BUFFER_BLOCK], 4);
	hoedown_stack_init(&doc->work_bufs[BUFFER_SPAN], 8);

	memset(doc->active_char, 0x0, 256);

	if (extensions & HOEDOWN_EXT_UNDERLINE && doc->md.underline) {
		doc->active_char['_'] = MD_CHAR_EMPHASIS;
	}

	if (doc->md.emphasis || doc->md.double_emphasis || doc->md.triple_emphasis) {
		doc->active_char['*'] = MD_CHAR_EMPHASIS;
		doc->active_char['_'] = MD_CHAR_EMPHASIS;
		if (extensions & HOEDOWN_EXT_STRIKETHROUGH)
			doc->active_char['~'] = MD_CHAR_EMPHASIS;
		if (extensions & HOEDOWN_EXT_HIGHLIGHT)
			doc->active_char['='] = MD_CHAR_EMPHASIS;
	}

	if (doc->md.codespan)
		doc->active_char['`'] = MD_CHAR_CODESPAN;

	if (doc->md.linebreak)
		doc->active_char['\n'] = MD_CHAR_LINEBREAK;

	if (doc->md.image || doc->md.media || doc->md.link || doc->md.footnotes || doc->md.footnote_ref) {
		doc->active_char['['] = MD_CHAR_LINK;
        doc->active_char['!'] = MD_CHAR_IMAGE;
        doc->active_char['@'] = MD_CHAR_MEDIA;
	}

	doc->active_char['<'] = MD_CHAR_LANGLE;
	doc->active_char['\\'] = MD_CHAR_ESCAPE;
	doc->active_char['&'] = MD_CHAR_ENTITY;

	if (extensions & HOEDOWN_EXT_AUTOLINK) {
		doc->active_char[':'] = MD_CHAR_AUTOLINK_URL;
		doc->active_char['@'] = MD_CHAR_AUTOLINK_EMAIL;
		doc->active_char['w'] = MD_CHAR_AUTOLINK_WWW;
	}

	if (extensions & HOEDOWN_EXT_SUPERSCRIPT)
		doc->active_char['^'] = MD_CHAR_SUPERSCRIPT;

	if (extensions & HOEDOWN_EXT_QUOTE)
		doc->active_char['"'] = MD_CHAR_QUOTE;

	if (extensions & HOEDOWN_EXT_MATH)
		doc->active_char['$'] = MD_CHAR_MATH;

	/* Extension data */
	doc->ext_flags = extensions;
	doc->max_nesting = max_nesting;
	doc->in_link_body = 0;

	return doc;
}

void
hoedown_document_render(hoedown_document *doc, hoedown_buffer *ob, const uint8_t *data, size_t size)
{
	static const uint8_t UTF8_BOM[] = {0xEF, 0xBB, 0xBF};

	hoedown_buffer *text;
	size_t beg, end;

	int footnotes_enabled;

	text = hoedown_buffer_new(64);

	/* Preallocate enough space for our buffer to avoid expanding while copying */
	hoedown_buffer_grow(text, size);

	/* reset the references table */
	memset(&doc->refs, 0x0, REF_TABLE_SIZE * sizeof(void *));

	footnotes_enabled = doc->ext_flags & HOEDOWN_EXT_FOOTNOTES;

	/* reset the footnotes lists */
	if (footnotes_enabled) {
		memset(&doc->footnotes_found, 0x0, sizeof(doc->footnotes_found));
		memset(&doc->footnotes_used, 0x0, sizeof(doc->footnotes_used));
	}

	/* first pass: looking for references, copying everything else */
	beg = 0;

	/* Skip a possible UTF-8 BOM, even though the Unicode standard
	 * discourages having these in UTF-8 documents */
	if (size >= 3 && memcmp(data, UTF8_BOM, 3) == 0)
		beg += 3;

	while (beg < size) /* iterating over lines */
		if (footnotes_enabled && is_footnote(data, beg, size, &end, &doc->footnotes_found))
			beg = end;
		else if (is_ref(data, beg, size, &end, doc->refs))
			beg = end;
		else { /* skipping to the next line */
			end = beg;
			while (end < size && data[end] != '\n' && data[end] != '\r')
				end++;

			/* adding the line body if present */
			if (end > beg)
				expand_tabs(text, data + beg, end - beg);

			while (end < size && (data[end] == '\n' || data[end] == '\r')) {
				/* add one \n per newline */
				if (data[end] == '\n' || (end + 1 < size && data[end + 1] != '\n'))
					hoedown_buffer_putc(text, '\n');
				end++;
			}

			beg = end;
		}

	/* pre-grow the output buffer to minimize allocations */
	hoedown_buffer_grow(ob, text->size + (text->size >> 1));

	/* second pass: actual rendering */
	if (doc->md.doc_header)
		doc->md.doc_header(ob, 0, &doc->data);

	if (text->size) {
		/* adding a final newline if not already present */
		if (text->data[text->size - 1] != '\n' &&  text->data[text->size - 1] != '\r')
			hoedown_buffer_putc(text, '\n');

		parse_block(ob, doc, text->data, text->size);
	}

	/* footnotes */
	if (footnotes_enabled)
		parse_footnote_list(ob, doc, &doc->footnotes_used);

	if (doc->md.doc_footer)
		doc->md.doc_footer(ob, 0, &doc->data);

	/* clean-up */
	hoedown_buffer_free(text);
	free_link_refs(doc->refs);
	if (footnotes_enabled) {
		free_footnote_list(&doc->footnotes_found, 1);
		free_footnote_list(&doc->footnotes_used, 0);
	}

	assert(doc->work_bufs[BUFFER_SPAN].size == 0);
	assert(doc->work_bufs[BUFFER_BLOCK].size == 0);
}

void
hoedown_document_render_inline(hoedown_document *doc, hoedown_buffer *ob, const uint8_t *data, size_t size)
{
	size_t i = 0, mark;
	hoedown_buffer *text = hoedown_buffer_new(64);

	/* reset the references table */
	memset(&doc->refs, 0x0, REF_TABLE_SIZE * sizeof(void *));

	/* first pass: expand tabs and process newlines */
	hoedown_buffer_grow(text, size);
	while (1) {
		mark = i;
		while (i < size && data[i] != '\n' && data[i] != '\r')
			i++;

		expand_tabs(text, data + mark, i - mark);

		if (i >= size)
			break;

		while (i < size && (data[i] == '\n' || data[i] == '\r')) {
			/* add one \n per newline */
			if (data[i] == '\n' || (i + 1 < size && data[i + 1] != '\n'))
				hoedown_buffer_putc(text, '\n');
			i++;
		}
	}

	/* second pass: actual rendering */
	hoedown_buffer_grow(ob, text->size + (text->size >> 1));

	if (doc->md.doc_header)
		doc->md.doc_header(ob, 1, &doc->data);

	parse_inline(ob, doc, text->data, text->size);

	if (doc->md.doc_footer)
		doc->md.doc_footer(ob, 1, &doc->data);

	/* clean-up */
	hoedown_buffer_free(text);

	assert(doc->work_bufs[BUFFER_SPAN].size == 0);
	assert(doc->work_bufs[BUFFER_BLOCK].size == 0);
}

void
hoedown_document_free(hoedown_document *doc)
{
	size_t i;

	for (i = 0; i < (size_t)doc->work_bufs[BUFFER_SPAN].asize; ++i)
		hoedown_buffer_free(doc->work_bufs[BUFFER_SPAN].item[i]);

	for (i = 0; i < (size_t)doc->work_bufs[BUFFER_BLOCK].asize; ++i)
		hoedown_buffer_free(doc->work_bufs[BUFFER_BLOCK].item[i]);

	hoedown_stack_uninit(&doc->work_bufs[BUFFER_SPAN]);
	hoedown_stack_uninit(&doc->work_bufs[BUFFER_BLOCK]);

	free(doc);
}


================================================
FILE: MarkLite/Core/hoedown/document.h
================================================
/* document.h - generic markdown parser */

#ifndef HOEDOWN_DOCUMENT_H
#define HOEDOWN_DOCUMENT_H

#include "buffer.h"
#include "autolink.h"

#ifdef __cplusplus
extern "C" {
#endif


/*************
 * CONSTANTS *
 *************/

typedef enum hoedown_extensions {
	/* block-level extensions */
	HOEDOWN_EXT_TABLES = (1 << 0),
	HOEDOWN_EXT_FENCED_CODE = (1 << 1),
	HOEDOWN_EXT_FOOTNOTES = (1 << 2),

	/* span-level extensions */
	HOEDOWN_EXT_AUTOLINK = (1 << 3),
	HOEDOWN_EXT_STRIKETHROUGH = (1 << 4),
	HOEDOWN_EXT_UNDERLINE = (1 << 5),
	HOEDOWN_EXT_HIGHLIGHT = (1 << 6),
	HOEDOWN_EXT_QUOTE = (1 << 7),
	HOEDOWN_EXT_SUPERSCRIPT = (1 << 8),
	HOEDOWN_EXT_MATH = (1 << 9),

	/* other flags */
	HOEDOWN_EXT_NO_INTRA_EMPHASIS = (1 << 11),
	HOEDOWN_EXT_SPACE_HEADERS = (1 << 12),
	HOEDOWN_EXT_MATH_EXPLICIT = (1 << 13),

	/* negative flags */
	HOEDOWN_EXT_DISABLE_INDENTED_CODE = (1 << 14)
} hoedown_extensions;

#define HOEDOWN_EXT_BLOCK (\
	HOEDOWN_EXT_TABLES |\
	HOEDOWN_EXT_FENCED_CODE |\
	HOEDOWN_EXT_FOOTNOTES )

#define HOEDOWN_EXT_SPAN (\
	HOEDOWN_EXT_AUTOLINK |\
	HOEDOWN_EXT_STRIKETHROUGH |\
	HOEDOWN_EXT_UNDERLINE |\
	HOEDOWN_EXT_HIGHLIGHT |\
	HOEDOWN_EXT_QUOTE |\
	HOEDOWN_EXT_SUPERSCRIPT |\
	HOEDOWN_EXT_MATH )

#define HOEDOWN_EXT_FLAGS (\
	HOEDOWN_EXT_NO_INTRA_EMPHASIS |\
	HOEDOWN_EXT_SPACE_HEADERS |\
	HOEDOWN_EXT_MATH_EXPLICIT )

#define HOEDOWN_EXT_NEGATIVE (\
	HOEDOWN_EXT_DISABLE_INDENTED_CODE )

typedef enum hoedown_list_flags {
	HOEDOWN_LIST_ORDERED = (1 << 0),
	HOEDOWN_LI_BLOCK = (1 << 1)	/* <li> containing block data */
} hoedown_list_flags;

typedef enum hoedown_table_flags {
	HOEDOWN_TABLE_ALIGN_LEFT = 1,
	HOEDOWN_TABLE_ALIGN_RIGHT = 2,
	HOEDOWN_TABLE_ALIGN_CENTER = 3,
	HOEDOWN_TABLE_ALIGNMASK = 3,
	HOEDOWN_TABLE_HEADER = 4
} hoedown_table_flags;

typedef enum hoedown_autolink_type {
	HOEDOWN_AUTOLINK_NONE,		/* used internally when it is not an autolink*/
	HOEDOWN_AUTOLINK_NORMAL,	/* normal http/http/ftp/mailto/etc link */
	HOEDOWN_AUTOLINK_EMAIL		/* e-mail link without explit mailto: */
} hoedown_autolink_type;


/*********
 * TYPES *
 *********/

struct hoedown_document;
typedef struct hoedown_document hoedown_document;

struct hoedown_renderer_data {
	void *opaque;
};
typedef struct hoedown_renderer_data hoedown_renderer_data;

/* hoedown_renderer - functions for rendering parsed data */
struct hoedown_renderer {
	/* state object */
	void *opaque;

	/* block level callbacks - NULL skips the block */
	void (*blockcode)(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_buffer *lang, const hoedown_renderer_data *data);
	void (*blockquote)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	void (*header)(hoedown_buffer *ob, const hoedown_buffer *content, int level, const hoedown_renderer_data *data);
	void (*hrule)(hoedown_buffer *ob, const hoedown_renderer_data *data);
	void (*list)(hoedown_buffer *ob, const hoedown_buffer *content, hoedown_list_flags flags, const hoedown_renderer_data *data);
	void (*listitem)(hoedown_buffer *ob, const hoedown_buffer *content, hoedown_list_flags flags, const hoedown_renderer_data *data);
	void (*paragraph)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	void (*table)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	void (*table_header)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	void (*table_body)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	void (*table_row)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	void (*table_cell)(hoedown_buffer *ob, const hoedown_buffer *content, hoedown_table_flags flags, const hoedown_renderer_data *data);
	void (*footnotes)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	void (*footnote_def)(hoedown_buffer *ob, const hoedown_buffer *content, unsigned int num, const hoedown_renderer_data *data);
	void (*blockhtml)(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data);

	/* span level callbacks - NULL or return 0 prints the span verbatim */
	int (*autolink)(hoedown_buffer *ob, const hoedown_buffer *link, hoedown_autolink_type type, const hoedown_renderer_data *data);
	int (*codespan)(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data);
	int (*double_emphasis)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	int (*emphasis)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	int (*underline)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	int (*highlight)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	int (*quote)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
    int (*image)(hoedown_buffer *ob, const hoedown_buffer *link, const hoedown_buffer *title, const hoedown_buffer *alt, const hoedown_renderer_data *data);
    int (*media)(hoedown_buffer *ob, const hoedown_buffer *link, const hoedown_buffer *title, const hoedown_buffer *alt, const hoedown_renderer_data *data);
	int (*linebreak)(hoedown_buffer *ob, const hoedown_renderer_data *data);
	int (*link)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_buffer *link, const hoedown_buffer *title, const hoedown_renderer_data *data);
	int (*triple_emphasis)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	int (*strikethrough)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	int (*superscript)(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data);
	int (*footnote_ref)(hoedown_buffer *ob, unsigned int num, const hoedown_renderer_data *data);
	int (*math)(hoedown_buffer *ob, const hoedown_buffer *text, int displaymode, const hoedown_renderer_data *data);
	int (*raw_html)(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data);

	/* low level callbacks - NULL copies input directly into the output */
	void (*entity)(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data);
	void (*normal_text)(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data);

	/* miscellaneous callbacks */
	void (*doc_header)(hoedown_buffer *ob, int inline_render, const hoedown_renderer_data *data);
	void (*doc_footer)(hoedown_buffer *ob, int inline_render, const hoedown_renderer_data *data);
};
typedef struct hoedown_renderer hoedown_renderer;


/*************
 * FUNCTIONS *
 *************/

/* hoedown_document_new: allocate a new document processor instance */
hoedown_document *hoedown_document_new(
	const hoedown_renderer *renderer,
	hoedown_extensions extensions,
	size_t max_nesting
) __attribute__ ((malloc));

/* hoedown_document_render: render regular Markdown using the document processor */
void hoedown_document_render(hoedown_document *doc, hoedown_buffer *ob, const uint8_t *data, size_t size);

/* hoedown_document_render_inline: render inline Markdown using the document processor */
void hoedown_document_render_inline(hoedown_document *doc, hoedown_buffer *ob, const uint8_t *data, size_t size);

/* hoedown_document_free: deallocate a document processor instance */
void hoedown_document_free(hoedown_document *doc);


#ifdef __cplusplus
}
#endif

#endif /** HOEDOWN_DOCUMENT_H **/


================================================
FILE: MarkLite/Core/hoedown/escape.c
================================================
#include "escape.h"

#include <assert.h>
#include <stdio.h>
#include <string.h>


#define likely(x)       __builtin_expect((x),1)
#define unlikely(x)     __builtin_expect((x),0)


/*
 * The following characters will not be escaped:
 *
 *		-_.+!*'(),%#@?=;:/,+&$ alphanum
 *
 * Note that this character set is the addition of:
 *
 *	- The characters which are safe to be in an URL
 *	- The characters which are *not* safe to be in
 *	an URL because they are RESERVED characters.
 *
 * We assume (lazily) that any RESERVED char that
 * appears inside an URL is actually meant to
 * have its native function (i.e. as an URL
 * component/separator) and hence needs no escaping.
 *
 * There are two exceptions: the chacters & (amp)
 * and ' (single quote) do not appear in the table.
 * They are meant to appear in the URL as components,
 * yet they require special HTML-entity escaping
 * to generate valid HTML markup.
 *
 * All other characters will be escaped to %XX.
 *
 */
static const uint8_t HREF_SAFE[UINT8_MAX+1] = {
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1,
	1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1,
	1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
	1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,
	0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
	1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};

void
hoedown_escape_href(hoedown_buffer *ob, const uint8_t *data, size_t size)
{
	static const char hex_chars[] = "0123456789ABCDEF";
	size_t  i = 0, mark;
	char hex_str[3];

	hex_str[0] = '%';

	while (i < size) {
		mark = i;
		while (i < size && HREF_SAFE[data[i]]) i++;

		/* Optimization for cases where there's nothing to escape */
		if (mark == 0 && i >= size) {
			hoedown_buffer_put(ob, data, size);
			return;
		}

		if (likely(i > mark)) {
			hoedown_buffer_put(ob, data + mark, i - mark);
		}

		/* escaping */
		if (i >= size)
			break;

		switch (data[i]) {
		/* amp appears all the time in URLs, but needs
		 * HTML-entity escaping to be inside an href */
		case '&':
			HOEDOWN_BUFPUTSL(ob, "&amp;");
			break;

		/* the single quote is a valid URL character
		 * according to the standard; it needs HTML
		 * entity escaping too */
		case '\'':
			HOEDOWN_BUFPUTSL(ob, "&#x27;");
			break;

		/* the space can be escaped to %20 or a plus
		 * sign. we're going with the generic escape
		 * for now. the plus thing is more commonly seen
		 * when building GET strings */
#if 0
		case ' ':
			hoedown_buffer_putc(ob, '+');
			break;
#endif

		/* every other character goes with a %XX escaping */
		default:
			hex_str[1] = hex_chars[(data[i] >> 4) & 0xF];
			hex_str[2] = hex_chars[data[i] & 0xF];
			hoedown_buffer_put(ob, (uint8_t *)hex_str, 3);
		}

		i++;
	}
}


/**
 * According to the OWASP rules:
 *
 * & --> &amp;
 * < --> &lt;
 * > --> &gt;
 * " --> &quot;
 * ' --> &#x27;     &apos; is not recommended
 * / --> &#x2F;     forward slash is included as it helps end an HTML entity
 *
 */
static const uint8_t HTML_ESCAPE_TABLE[UINT8_MAX+1] = {
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 1, 0, 0, 0, 2, 3, 0, 0, 0, 0, 0, 0, 0, 4,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 6, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};

static const char *HTML_ESCAPES[] = {
        "",
        "&quot;",
        "&amp;",
        "&#39;",
        "&#47;",
        "&lt;",
        "&gt;"
};

void
hoedown_escape_html(hoedown_buffer *ob, const uint8_t *data, size_t size, int secure)
{
	size_t i = 0, mark;

	while (1) {
		mark = i;
		while (i < size && HTML_ESCAPE_TABLE[data[i]] == 0) i++;

		/* Optimization for cases where there's nothing to escape */
		if (mark == 0 && i >= size) {
			hoedown_buffer_put(ob, data, size);
			return;
		}

		if (likely(i > mark))
			hoedown_buffer_put(ob, data + mark, i - mark);

		if (i >= size) break;

		/* The forward slash is only escaped in secure mode */
		if (!secure && data[i] == '/') {
			hoedown_buffer_putc(ob, '/');
		} else {
			hoedown_buffer_puts(ob, HTML_ESCAPES[HTML_ESCAPE_TABLE[data[i]]]);
		}

		i++;
	}
}


================================================
FILE: MarkLite/Core/hoedown/escape.h
================================================
/* escape.h - escape utilities */

#ifndef HOEDOWN_ESCAPE_H
#define HOEDOWN_ESCAPE_H

#include "buffer.h"

#ifdef __cplusplus
extern "C" {
#endif


/*************
 * FUNCTIONS *
 *************/

/* hoedown_escape_href: escape (part of) a URL inside HTML */
void hoedown_escape_href(hoedown_buffer *ob, const uint8_t *data, size_t size);

/* hoedown_escape_html: escape HTML */
void hoedown_escape_html(hoedown_buffer *ob, const uint8_t *data, size_t size, int secure);


#ifdef __cplusplus
}
#endif

#endif /** HOEDOWN_ESCAPE_H **/


================================================
FILE: MarkLite/Core/hoedown/hoedown_html_patch.c
================================================
//
//  hoedown_html_patch.c
//  MacDown
//
//  Created by Tzu-ping Chung  on 14/06/2014.
//  Copyright (c) 2014 Tzu-ping Chung . All rights reserved.
//

#include <string.h>
#include "escape.h"
#include "document.h"
#include "html.h"
#include "hoedown_html_patch.h"

#define USE_XHTML(opt) (opt->flags & HOEDOWN_HTML_USE_XHTML)
#define USE_TASK_LIST(opt) (opt->flags & HOEDOWN_HTML_USE_TASK_LIST)

// Supports task list syntax if HOEDOWN_HTML_USE_TASK_LIST is on.
// Implementation based on hoextdown.
void hoedown_patch_render_listitem(
    hoedown_buffer *ob, const hoedown_buffer *text, hoedown_list_flags flags,
    const hoedown_renderer_data *data)
{
	if (text)
    {
        hoedown_html_renderer_state *state = data->opaque;
        size_t offset = 0;
        if (flags & HOEDOWN_LI_BLOCK)
            offset = 3;

        // Do task list checkbox ([x] or [ ]).
        if (USE_TASK_LIST(state) && text->size >= 3)
        {
            if (strncmp((char *)(text->data + offset), 
Download .txt
gitextract_mtja70p5/

├── .gitattributes
├── .gitignore
├── LICENSE
├── MarkLite/
│   ├── AppDelegate.swift
│   ├── Assets.xcassets/
│   │   ├── AppIcon.appiconset/
│   │   │   └── Contents.json
│   │   ├── Contents.json
│   │   ├── PurchaseIntroHeader.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_bold.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_code.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_deleteLine.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_header.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_image.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_italic.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_keyboard.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_link.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_olist.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_quote.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_tab.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_todolist.imageset/
│   │   │   └── Contents.json
│   │   ├── bar_ulist.imageset/
│   │   │   └── Contents.json
│   │   ├── empty_edit.imageset/
│   │   │   └── Contents.json
│   │   ├── empty_file.imageset/
│   │   │   └── Contents.json
│   │   ├── export.imageset/
│   │   │   └── Contents.json
│   │   ├── fullscreen.imageset/
│   │   │   └── Contents.json
│   │   ├── highlight.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_archive.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_box.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_cloud.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_expand.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_folder.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_forward.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_image.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_local.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_location.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_lock.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_search.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_sort.imageset/
│   │   │   └── Contents.json
│   │   ├── icon_text.imageset/
│   │   │   └── Contents.json
│   │   ├── logo.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_back.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_edit.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_files.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_list.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_redo.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_settings.imageset/
│   │   │   └── Contents.json
│   │   ├── nav_undo.imageset/
│   │   │   └── Contents.json
│   │   ├── preview.imageset/
│   │   │   └── Contents.json
│   │   └── style.imageset/
│   │       └── Contents.json
│   ├── Base.lproj/
│   │   ├── LaunchScreen.storyboard
│   │   └── Localizable.strings
│   ├── Core/
│   │   ├── HighlightManager.swift
│   │   ├── MarkLite-Bridging-Header.h
│   │   ├── MarkdownRender.h
│   │   ├── MarkdownRender.m
│   │   ├── NSData+MD5.h
│   │   ├── NSData+MD5.m
│   │   ├── PDFRender.swift
│   │   └── hoedown/
│   │       ├── autolink.c
│   │       ├── autolink.h
│   │       ├── buffer.c
│   │       ├── buffer.h
│   │       ├── document.c
│   │       ├── document.h
│   │       ├── escape.c
│   │       ├── escape.h
│   │       ├── hoedown_html_patch.c
│   │       ├── hoedown_html_patch.h
│   │       ├── html.c
│   │       ├── html.h
│   │       ├── html_blocks.c
│   │       ├── html_smartypants.c
│   │       ├── stack.c
│   │       ├── stack.h
│   │       ├── version.c
│   │       └── version.h
│   ├── Info.plist
│   ├── Model/
│   │   ├── Document.swift
│   │   ├── ExportActivity.swift
│   │   ├── File.swift
│   │   ├── ServerInfo.swift
│   │   ├── TOCItem.swift
│   │   └── Theme.swift
│   ├── Resource/
│   │   ├── Instructions/
│   │   │   ├── ReadMe.md
│   │   │   ├── Syntax.md
│   │   │   ├── 使用教程.md
│   │   │   ├── 数学公式.md
│   │   │   └── 示例文档.md
│   │   └── Resources/
│   │       ├── Highlight/
│   │       │   └── highlight-style/
│   │       │       ├── androidstudio.css
│   │       │       ├── codepen-embed.css
│   │       │       ├── color-brewer.css
│   │       │       ├── github.css
│   │       │       ├── monokai-sublime.css
│   │       │       ├── rainbow.css
│   │       │       ├── solarized-dark.css
│   │       │       ├── solarized-light.css
│   │       │       ├── tomorrow-night.css
│   │       │       ├── tomorrow.css
│   │       │       ├── vs.css
│   │       │       └── xcode.css
│   │       ├── MathJax/
│   │       │   ├── a11y/
│   │       │   │   ├── complexity.js
│   │       │   │   ├── explorer.js
│   │       │   │   └── semantic-enrich.js
│   │       │   ├── adaptors/
│   │       │   │   └── liteDOM.js
│   │       │   ├── core.js
│   │       │   ├── input/
│   │       │   │   ├── asciimath.js
│   │       │   │   ├── mml/
│   │       │   │   │   └── entities.js
│   │       │   │   ├── mml.js
│   │       │   │   ├── tex/
│   │       │   │   │   └── extensions/
│   │       │   │   │       ├── action.js
│   │       │   │   │       ├── all-packages.js
│   │       │   │   │       ├── ams.js
│   │       │   │   │       ├── amscd.js
│   │       │   │   │       ├── autoload.js
│   │       │   │   │       ├── bbox.js
│   │       │   │   │       ├── boldsymbol.js
│   │       │   │   │       ├── braket.js
│   │       │   │   │       ├── bussproofs.js
│   │       │   │   │       ├── cancel.js
│   │       │   │   │       ├── color.js
│   │       │   │   │       ├── colorV2.js
│   │       │   │   │       ├── configMacros.js
│   │       │   │   │       ├── enclose.js
│   │       │   │   │       ├── extpfeil.js
│   │       │   │   │       ├── html.js
│   │       │   │   │       ├── mhchem.js
│   │       │   │   │       ├── newcommand.js
│   │       │   │   │       ├── noerrors.js
│   │       │   │   │       ├── noundefined.js
│   │       │   │   │       ├── physics.js
│   │       │   │   │       ├── require.js
│   │       │   │   │       ├── tagFormat.js
│   │       │   │   │       ├── unicode.js
│   │       │   │   │       └── verb.js
│   │       │   │   ├── tex-base.js
│   │       │   │   ├── tex-full.js
│   │       │   │   └── tex.js
│   │       │   ├── latest.js
│   │       │   ├── loader.js
│   │       │   ├── mml-chtml.js
│   │       │   ├── node-main.js
│   │       │   ├── output/
│   │       │   │   ├── chtml/
│   │       │   │   │   └── fonts/
│   │       │   │   │       └── tex.js
│   │       │   │   └── chtml.js
│   │       │   ├── sre/
│   │       │   │   ├── mathmaps/
│   │       │   │   │   ├── en/
│   │       │   │   │   │   ├── functions/
│   │       │   │   │   │   │   ├── algebra.js
│   │       │   │   │   │   │   ├── elementary.js
│   │       │   │   │   │   │   ├── hyperbolic.js
│   │       │   │   │   │   │   └── trigonometry.js
│   │       │   │   │   │   ├── symbols/
│   │       │   │   │   │   │   ├── greek-capital.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold.js
│   │       │   │   │   │   │   ├── greek-mathfonts-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── greek-scripts.js
│   │       │   │   │   │   │   ├── greek-small.js
│   │       │   │   │   │   │   ├── greek-symbols.js
│   │       │   │   │   │   │   ├── hebrew_letters.js
│   │       │   │   │   │   │   ├── latin-lower-double-accent.js
│   │       │   │   │   │   │   ├── latin-lower-normal.js
│   │       │   │   │   │   │   ├── latin-lower-phonetic.js
│   │       │   │   │   │   │   ├── latin-lower-single-accent.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │   │   │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-monospace.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │   │   │   ├── latin-mathfonts-script.js
│   │       │   │   │   │   │   ├── latin-rest.js
│   │       │   │   │   │   │   ├── latin-upper-double-accent.js
│   │       │   │   │   │   │   ├── latin-upper-normal.js
│   │       │   │   │   │   │   ├── latin-upper-single-accent.js
│   │       │   │   │   │   │   ├── math_angles.js
│   │       │   │   │   │   │   ├── math_arrows.js
│   │       │   │   │   │   │   ├── math_characters.js
│   │       │   │   │   │   │   ├── math_delimiters.js
│   │       │   │   │   │   │   ├── math_digits.js
│   │       │   │   │   │   │   ├── math_geometry.js
│   │       │   │   │   │   │   ├── math_harpoons.js
│   │       │   │   │   │   │   ├── math_non_characters.js
│   │       │   │   │   │   │   ├── math_symbols.js
│   │       │   │   │   │   │   ├── math_whitespace.js
│   │       │   │   │   │   │   └── other_stars.js
│   │       │   │   │   │   └── units/
│   │       │   │   │   │       ├── energy.js
│   │       │   │   │   │       ├── length.js
│   │       │   │   │   │       ├── memory.js
│   │       │   │   │   │       ├── other.js
│   │       │   │   │   │       ├── speed.js
│   │       │   │   │   │       ├── temperature.js
│   │       │   │   │   │       ├── time.js
│   │       │   │   │   │       ├── volume.js
│   │       │   │   │   │       └── weight.js
│   │       │   │   │   ├── es/
│   │       │   │   │   │   ├── functions/
│   │       │   │   │   │   │   ├── algebra.js
│   │       │   │   │   │   │   ├── elementary.js
│   │       │   │   │   │   │   ├── hyperbolic.js
│   │       │   │   │   │   │   └── trigonometry.js
│   │       │   │   │   │   ├── symbols/
│   │       │   │   │   │   │   ├── greek-capital.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold.js
│   │       │   │   │   │   │   ├── greek-mathfonts-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── greek-scripts.js
│   │       │   │   │   │   │   ├── greek-small.js
│   │       │   │   │   │   │   ├── greek-symbols.js
│   │       │   │   │   │   │   ├── hebrew_letters.js
│   │       │   │   │   │   │   ├── latin-lower-double-accent.js
│   │       │   │   │   │   │   ├── latin-lower-normal.js
│   │       │   │   │   │   │   ├── latin-lower-phonetic.js
│   │       │   │   │   │   │   ├── latin-lower-single-accent.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │   │   │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-monospace.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │   │   │   ├── latin-mathfonts-script.js
│   │       │   │   │   │   │   ├── latin-rest.js
│   │       │   │   │   │   │   ├── latin-upper-double-accent.js
│   │       │   │   │   │   │   ├── latin-upper-normal.js
│   │       │   │   │   │   │   ├── latin-upper-single-accent.js
│   │       │   │   │   │   │   ├── math_angles.js
│   │       │   │   │   │   │   ├── math_arrows.js
│   │       │   │   │   │   │   ├── math_characters.js
│   │       │   │   │   │   │   ├── math_delimiters.js
│   │       │   │   │   │   │   ├── math_digits.js
│   │       │   │   │   │   │   ├── math_geometry.js
│   │       │   │   │   │   │   ├── math_harpoons.js
│   │       │   │   │   │   │   ├── math_non_characters.js
│   │       │   │   │   │   │   ├── math_symbols.js
│   │       │   │   │   │   │   ├── math_whitespace.js
│   │       │   │   │   │   │   └── other_stars.js
│   │       │   │   │   │   └── units/
│   │       │   │   │   │       ├── energy.js
│   │       │   │   │   │       ├── length.js
│   │       │   │   │   │       ├── memory.js
│   │       │   │   │   │       ├── other.js
│   │       │   │   │   │       ├── speed.js
│   │       │   │   │   │       ├── temperature.js
│   │       │   │   │   │       ├── time.js
│   │       │   │   │   │       ├── volume.js
│   │       │   │   │   │       └── weight.js
│   │       │   │   │   ├── fr/
│   │       │   │   │   │   ├── functions/
│   │       │   │   │   │   │   ├── algebra.js
│   │       │   │   │   │   │   ├── elementary.js
│   │       │   │   │   │   │   ├── hyperbolic.js
│   │       │   │   │   │   │   └── trigonometry.js
│   │       │   │   │   │   ├── symbols/
│   │       │   │   │   │   │   ├── greek-capital.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-bold.js
│   │       │   │   │   │   │   ├── greek-mathfonts-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── greek-scripts.js
│   │       │   │   │   │   │   ├── greek-small.js
│   │       │   │   │   │   │   ├── greek-symbols.js
│   │       │   │   │   │   │   ├── hebrew_letters.js
│   │       │   │   │   │   │   ├── latin-lower-double-accent.js
│   │       │   │   │   │   │   ├── latin-lower-normal.js
│   │       │   │   │   │   │   ├── latin-lower-phonetic.js
│   │       │   │   │   │   │   ├── latin-lower-single-accent.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │   │   │   ├── latin-mathfonts-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │   │   │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │   │   │   ├── latin-mathfonts-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-monospace.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │   │   │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │   │   │   ├── latin-mathfonts-script.js
│   │       │   │   │   │   │   ├── latin-rest.js
│   │       │   │   │   │   │   ├── latin-upper-double-accent.js
│   │       │   │   │   │   │   ├── latin-upper-normal.js
│   │       │   │   │   │   │   ├── latin-upper-single-accent.js
│   │       │   │   │   │   │   ├── math_angles.js
│   │       │   │   │   │   │   ├── math_arrows.js
│   │       │   │   │   │   │   ├── math_characters.js
│   │       │   │   │   │   │   ├── math_delimiters.js
│   │       │   │   │   │   │   ├── math_digits.js
│   │       │   │   │   │   │   ├── math_geometry.js
│   │       │   │   │   │   │   ├── math_harpoons.js
│   │       │   │   │   │   │   ├── math_non_characters.js
│   │       │   │   │   │   │   ├── math_symbols.js
│   │       │   │   │   │   │   ├── math_whitespace.js
│   │       │   │   │   │   │   └── other_stars.js
│   │       │   │   │   │   └── units/
│   │       │   │   │   │       ├── energy.js
│   │       │   │   │   │       ├── length.js
│   │       │   │   │   │       ├── memory.js
│   │       │   │   │   │       ├── other.js
│   │       │   │   │   │       ├── speed.js
│   │       │   │   │   │       ├── temperature.js
│   │       │   │   │   │       ├── time.js
│   │       │   │   │   │       ├── volume.js
│   │       │   │   │   │       └── weight.js
│   │       │   │   │   ├── mathmaps_ie.js
│   │       │   │   │   └── nemeth/
│   │       │   │   │       ├── functions/
│   │       │   │   │       │   ├── algebra.js
│   │       │   │   │       │   ├── elementary.js
│   │       │   │   │       │   ├── hyperbolic.js
│   │       │   │   │       │   └── trigonometry.js
│   │       │   │   │       ├── symbols/
│   │       │   │   │       │   ├── greek-capital.js
│   │       │   │   │       │   ├── greek-mathfonts-bold-italic.js
│   │       │   │   │       │   ├── greek-mathfonts-bold.js
│   │       │   │   │       │   ├── greek-mathfonts-italic.js
│   │       │   │   │       │   ├── greek-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │       │   ├── greek-mathfonts-sans-serif-bold.js
│   │       │   │   │       │   ├── greek-mathfonts.js
│   │       │   │   │       │   ├── greek-scripts.js
│   │       │   │   │       │   ├── greek-small.js
│   │       │   │   │       │   ├── greek-symbols.js
│   │       │   │   │       │   ├── hebrew_letters.js
│   │       │   │   │       │   ├── latin-lower-double-accent.js
│   │       │   │   │       │   ├── latin-lower-normal.js
│   │       │   │   │       │   ├── latin-lower-phonetic.js
│   │       │   │   │       │   ├── latin-lower-single-accent.js
│   │       │   │   │       │   ├── latin-mathfonts-bold-fraktur.js
│   │       │   │   │       │   ├── latin-mathfonts-bold-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-bold-script.js
│   │       │   │   │       │   ├── latin-mathfonts-bold.js
│   │       │   │   │       │   ├── latin-mathfonts-double-struck.js
│   │       │   │   │       │   ├── latin-mathfonts-fraktur.js
│   │       │   │   │       │   ├── latin-mathfonts-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-monospace.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif-bold-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif-bold.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif-italic.js
│   │       │   │   │       │   ├── latin-mathfonts-sans-serif.js
│   │       │   │   │       │   ├── latin-mathfonts-script.js
│   │       │   │   │       │   ├── latin-rest.js
│   │       │   │   │       │   ├── latin-upper-double-accent.js
│   │       │   │   │       │   ├── latin-upper-normal.js
│   │       │   │   │       │   ├── latin-upper-single-accent.js
│   │       │   │   │       │   ├── math_angles.js
│   │       │   │   │       │   ├── math_arrows.js
│   │       │   │   │       │   ├── math_characters.js
│   │       │   │   │       │   ├── math_delimiters.js
│   │       │   │   │       │   ├── math_digits.js
│   │       │   │   │       │   ├── math_geometry.js
│   │       │   │   │       │   ├── math_harpoons.js
│   │       │   │   │       │   ├── math_non_characters.js
│   │       │   │   │       │   ├── math_symbols.js
│   │       │   │   │       │   ├── math_whitespace.js
│   │       │   │   │       │   └── other_stars.js
│   │       │   │   │       └── units/
│   │       │   │   │           ├── energy.js
│   │       │   │   │           ├── length.js
│   │       │   │   │           ├── memory.js
│   │       │   │   │           ├── other.js
│   │       │   │   │           ├── speed.js
│   │       │   │   │           ├── temperature.js
│   │       │   │   │           ├── time.js
│   │       │   │   │           ├── volume.js
│   │       │   │   │           └── weight.js
│   │       │   │   └── sre_browser.js
│   │       │   ├── startup.js
│   │       │   ├── tex-chtml-full.js
│   │       │   ├── tex-chtml.js
│   │       │   ├── tex-mml-chtml.js
│   │       │   └── ui/
│   │       │       └── menu.js
│   │       └── Styles/
│   │           ├── Clearness Dark.css
│   │           ├── Clearness.css
│   │           ├── Fresh.css
│   │           ├── GitHub Dark.css
│   │           ├── GitHub.css
│   │           ├── Standard.css
│   │           └── WeChat.css
│   ├── StoryBoard/
│   │   ├── Edit.storyboard
│   │   ├── Main.storyboard
│   │   └── Settings.storyboard
│   ├── Utils/
│   │   ├── ActivityIndicator.swift
│   │   ├── Configure.swift
│   │   ├── Constant.swift
│   │   ├── IAPHelper.swift
│   │   ├── ImagePicker.swift
│   │   ├── Localization.swift
│   │   ├── MDURLProtocol.h
│   │   ├── MDURLProtocol.m
│   │   ├── NSURLProtocol+WKWebVIew.h
│   │   ├── NSURLProtocol+WKWebVIew.m
│   │   ├── Utils.swift
│   │   └── WKWebView+Snapshot.swift
│   ├── View/
│   │   ├── BaseTableViewCell.swift
│   │   ├── KeyboardBar.swift
│   │   ├── MenuView.swift
│   │   ├── RecentImageCell.swift
│   │   ├── Seperator.swift
│   │   └── TextView.swift
│   ├── ViewController/
│   │   ├── AppearanceViewController.swift
│   │   ├── CustomStyleViewController.swift
│   │   ├── EditViewController.swift
│   │   ├── FileSharingViewController.swift
│   │   ├── FilesViewController.swift
│   │   ├── HomeViewController.swift
│   │   ├── NavigationViewController.swift
│   │   ├── OptionsViewController.swift
│   │   ├── PreviewViewController.swift
│   │   ├── PurchaseViewController.swift
│   │   ├── RecentImagesViewController.swift
│   │   ├── SettingsViewController.swift
│   │   ├── TextViewController.swift
│   │   ├── TocListViewController.swift
│   │   └── WebViewController.swift
│   ├── en.lproj/
│   │   ├── LaunchScreen.strings
│   │   └── Localizable.strings
│   ├── public.pem
│   └── zh-Hans.lproj/
│       └── Localizable.strings
├── Markdown.entitlements
├── Markdown.xcodeproj/
│   ├── project.pbxproj
│   ├── project.xcworkspace/
│   │   └── contents.xcworkspacedata
│   └── xcshareddata/
│       └── xcschemes/
│           └── Markdown.xcscheme
├── Markdown.xcworkspace/
│   ├── contents.xcworkspacedata
│   └── xcshareddata/
│       └── IDEWorkspaceChecks.plist
├── Podfile
└── README.md
Download .txt
Showing preview only (247K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (3003 symbols across 64 files)

FILE: MarkLite/Core/hoedown/autolink.c
  function hoedown_autolink_is_safe (line 14) | int
  function autolink_delim (line 36) | static size_t
  function check_domain (line 120) | static size_t
  function hoedown_autolink__www (line 146) | size_t
  function hoedown_autolink__email (line 182) | size_t
  function hoedown_autolink__url (line 238) | size_t

FILE: MarkLite/Core/hoedown/autolink.h
  type hoedown_autolink_flags (line 17) | typedef enum hoedown_autolink_flags {

FILE: MarkLite/Core/hoedown/buffer.c
  function hoedown_buffer_init (line 47) | void
  function hoedown_buffer_uninit (line 65) | void
  function hoedown_buffer (line 72) | hoedown_buffer *
  function hoedown_buffer_free (line 80) | void
  function hoedown_buffer_reset (line 92) | void
  function hoedown_buffer_grow (line 102) | void
  function hoedown_buffer_put (line 119) | void
  function hoedown_buffer_puts (line 131) | void
  function hoedown_buffer_putc (line 137) | void
  function hoedown_buffer_putf (line 149) | int
  function hoedown_buffer_set (line 162) | void
  function hoedown_buffer_sets (line 174) | void
  function hoedown_buffer_eq (line 180) | int
  function hoedown_buffer_eqs (line 187) | int
  function hoedown_buffer_prefix (line 193) | int
  function hoedown_buffer_slurp (line 209) | void
  function hoedown_buffer_printf (line 237) | void
  function hoedown_buffer_put_utf8 (line 276) | void hoedown_buffer_put_utf8(hoedown_buffer *buf, unsigned int c) {

FILE: MarkLite/Core/hoedown/buffer.h
  type hoedown_buffer (line 30) | struct hoedown_buffer {
  type hoedown_buffer (line 41) | typedef struct hoedown_buffer hoedown_buffer;

FILE: MarkLite/Core/hoedown/document.c
  type link_ref (line 30) | struct link_ref {
  type footnote_ref (line 40) | struct footnote_ref {
  type footnote_item (line 50) | struct footnote_item {
  type footnote_list (line 56) | struct footnote_list {
  type markdown_char_t (line 85) | enum markdown_char_t {
  type hoedown_document (line 123) | struct hoedown_document {
  function hoedown_buffer (line 141) | static hoedown_buffer *
  function popbuf (line 160) | static void
  function unscape_text (line 166) | static void
  function hash_link_ref (line 186) | static unsigned int
  type link_ref (line 198) | struct link_ref
  type link_ref (line 200) | struct link_ref
  type link_ref (line 203) | struct link_ref
  type link_ref (line 203) | struct link_ref
  type link_ref (line 212) | struct link_ref
  type link_ref (line 213) | struct link_ref
  type link_ref (line 216) | struct link_ref
  function free_link_refs (line 230) | static void
  type footnote_ref (line 249) | struct footnote_ref
  type footnote_list (line 250) | struct footnote_list
  type footnote_ref (line 252) | struct footnote_ref
  type footnote_ref (line 252) | struct footnote_ref
  function add_footnote_ref (line 259) | static int
  type footnote_ref (line 278) | struct footnote_ref
  type footnote_list (line 279) | struct footnote_list
  type footnote_item (line 282) | struct footnote_item
  function free_footnote_ref (line 295) | static void
  function free_footnote_list (line 302) | static void
  function _isspace (line 329) | static int
  function is_empty_all (line 336) | static int
  function replace_spacing (line 348) | static void
  function is_mail_autolink (line 372) | static size_t
  function tag_length (line 403) | static size_t
  function parse_inline (line 479) | static void
  function is_escaped (line 518) | static int
  function find_emph_char (line 530) | static size_t
  function parse_emph1 (line 624) | static size_t
  function parse_emph2 (line 664) | static size_t
  function parse_emph3 (line 697) | static size_t
  function parse_math (line 738) | static size_t
  function char_emphasis (line 780) | static size_t
  function char_linebreak (line 819) | static size_t
  function char_codespan (line 834) | static size_t
  function char_quote (line 879) | static size_t
  function char_escape (line 926) | static size_t
  function char_entity (line 964) | static size_t
  function char_langle_tag (line 992) | static size_t
  function char_autolink_www (line 1020) | static size_t
  function char_autolink_email (line 1056) | static size_t
  function char_autolink_url (line 1080) | static size_t
  function char_image (line 1104) | static size_t
  function char_media (line 1115) | static size_t
  function char_link (line 1127) | static size_t
  function char_superscript (line 1354) | static size_t
  function char_math (line 1390) | static size_t
  function is_empty (line 1409) | static size_t
  function is_hrule (line 1422) | static int
  function is_codefence (line 1455) | static size_t
  function parse_codefence (line 1487) | static size_t
  function is_atxheader (line 1516) | static int
  function is_headerline (line 1536) | static int
  function is_next_headerline (line 1556) | static int
  function prefix_quote (line 1571) | static size_t
  function prefix_code (line 1590) | static size_t
  function prefix_oli (line 1600) | static size_t
  function prefix_uli (line 1625) | static size_t
  function parse_blockquote (line 1652) | static size_t
  function parse_paragraph (line 1697) | static size_t
  function parse_fencedcode (line 1777) | static size_t
  function parse_blockcode (line 1819) | static size_t
  function parse_listitem (line 1862) | static size_t
  function parse_list (line 1999) | static size_t
  function parse_atxheader (line 2022) | static size_t
  function parse_footnote_def (line 2057) | static void
  function parse_footnote_list (line 2071) | static void
  function htmlblock_is_end (line 2098) | static size_t
  function htmlblock_find_end (line 2125) | static size_t
  function htmlblock_find_end_strict (line 2148) | static size_t
  function parse_htmlblock (line 2173) | static size_t
  function parse_table_row (line 2258) | static void
  function parse_table_header (line 2323) | static size_t
  function parse_table (line 2415) | static size_t
  function parse_block (line 2483) | static void
  function is_footnote (line 2550) | static int
  function is_ref (line 2655) | static int
  function expand_tabs (line 2768) | static void expand_tabs(hoedown_buffer *ob, const uint8_t *line, size_t ...
  function hoedown_document (line 2806) | hoedown_document *
  function hoedown_document_render (line 2878) | void
  function hoedown_document_render_inline (line 2970) | void
  function hoedown_document_free (line 3017) | void

FILE: MarkLite/Core/hoedown/document.h
  type hoedown_extensions (line 18) | typedef enum hoedown_extensions {
  type hoedown_list_flags (line 64) | typedef enum hoedown_list_flags {
  type hoedown_table_flags (line 69) | typedef enum hoedown_table_flags {
  type hoedown_autolink_type (line 77) | typedef enum hoedown_autolink_type {
  type hoedown_document (line 88) | struct hoedown_document
  type hoedown_document (line 89) | typedef struct hoedown_document hoedown_document;
  type hoedown_renderer_data (line 91) | struct hoedown_renderer_data {
  type hoedown_renderer_data (line 94) | typedef struct hoedown_renderer_data hoedown_renderer_data;
  type hoedown_renderer (line 97) | struct hoedown_renderer {
  type hoedown_renderer (line 145) | typedef struct hoedown_renderer hoedown_renderer;

FILE: MarkLite/Core/hoedown/escape.c
  function hoedown_escape_href (line 56) | void
  function hoedown_escape_html (line 159) | void

FILE: MarkLite/Core/hoedown/hoedown_html_patch.c
  function hoedown_patch_render_listitem (line 20) | void hoedown_patch_render_listitem(
  function hoedown_patch_render_toc_header (line 75) | void hoedown_patch_render_toc_header(

FILE: MarkLite/Core/hoedown/hoedown_html_patch.h
  type hoedown_buffer (line 14) | typedef struct hoedown_buffer hoedown_buffer;

FILE: MarkLite/Core/hoedown/html.c
  function hoedown_html_tag (line 12) | hoedown_html_tag
  function escape_html (line 45) | static void escape_html(hoedown_buffer *ob, const uint8_t *source, size_...
  function escape_href (line 50) | static void escape_href(hoedown_buffer *ob, const uint8_t *source, size_...
  function rndr_autolink (line 58) | static int
  function rndr_blockcode (line 95) | static void
  function rndr_blockquote (line 114) | static void
  function rndr_codespan (line 123) | static int
  function rndr_strikethrough (line 132) | static int
  function rndr_double_emphasis (line 144) | static int
  function rndr_emphasis (line 157) | static int
  function rndr_underline (line 167) | static int
  function rndr_highlight (line 180) | static int
  function rndr_quote (line 193) | static int
  function rndr_linebreak (line 206) | static int
  function rndr_header (line 214) | static void
  function rndr_link (line 231) | static int
  function rndr_list (line 259) | static void
  function rndr_listitem (line 268) | static void
  function rndr_paragraph (line 282) | static void
  function rndr_raw_block (line 325) | static void
  function rndr_triple_emphasis (line 352) | static int
  function rndr_hrule (line 362) | static void
  function rndr_image (line 370) | static int
  function rndr_media (line 391) | static int
  function rndr_raw_html (line 404) | static int
  function rndr_table (line 423) | static void
  function rndr_table_header (line 432) | static void
  function rndr_table_body (line 441) | static void
  function rndr_tablerow (line 450) | static void
  function rndr_tablecell (line 458) | static void
  function rndr_superscript (line 494) | static int
  function rndr_normal_text (line 504) | static void
  function rndr_footnotes (line 511) | static void
  function rndr_footnote_def (line 526) | static void
  function rndr_footnote_ref (line 556) | static int
  function rndr_math (line 563) | static int
  function toc_header (line 572) | static void
  function toc_link (line 607) | static int
  function toc_finalize (line 614) | static void
  function hoedown_renderer (line 632) | hoedown_renderer *
  function hoedown_renderer (line 696) | hoedown_renderer *
  function hoedown_html_renderer_free (line 764) | void

FILE: MarkLite/Core/hoedown/html.h
  type hoedown_html_flags (line 18) | typedef enum hoedown_html_flags {
  type hoedown_html_tag (line 25) | typedef enum hoedown_html_tag {
  type hoedown_html_renderer_state (line 36) | struct hoedown_html_renderer_state {
  type hoedown_html_renderer_state (line 51) | typedef struct hoedown_html_renderer_state hoedown_html_renderer_state;

FILE: MarkLite/Core/hoedown/html_blocks.c
  function gperf_case_strncmp (line 61) | static int
  function hash (line 86) | static unsigned int
  function __GNUC_STDC_INLINE__ (line 133) | __inline

FILE: MarkLite/Core/hoedown/html_smartypants.c
  type smartypants_data (line 12) | struct smartypants_data {
  type smartypants_data (line 17) | struct smartypants_data
  type smartypants_data (line 18) | struct smartypants_data
  type smartypants_data (line 19) | struct smartypants_data
  type smartypants_data (line 20) | struct smartypants_data
  type smartypants_data (line 21) | struct smartypants_data
  type smartypants_data (line 22) | struct smartypants_data
  type smartypants_data (line 23) | struct smartypants_data
  type smartypants_data (line 24) | struct smartypants_data
  type smartypants_data (line 25) | struct smartypants_data
  type smartypants_data (line 26) | struct smartypants_data
  type smartypants_data (line 29) | struct smartypants_data
  function word_boundary (line 63) | static int
  function squote_len (line 74) | static size_t
  function smartypants_quotes (line 91) | static int
  function smartypants_squote (line 114) | static size_t
  function smartypants_cb__squote (line 158) | static size_t
  function smartypants_cb__parens (line 165) | static size_t
  function smartypants_cb__dash (line 193) | static size_t
  function smartypants_cb__amp (line 211) | static size_t
  function smartypants_cb__period (line 233) | static size_t
  function smartypants_cb__backtick (line 251) | static size_t
  function smartypants_cb__number (line 264) | static size_t
  function smartypants_cb__dquote (line 297) | static size_t
  function smartypants_cb__ltag (line 306) | static size_t
  function smartypants_cb__escape (line 356) | static size_t
  function hoedown_html_smartypants (line 408) | void

FILE: MarkLite/Core/hoedown/stack.c
  function hoedown_stack_init (line 9) | void
  function hoedown_stack_uninit (line 23) | void
  function hoedown_stack_grow (line 31) | void
  function hoedown_stack_push (line 48) | void

FILE: MarkLite/Core/hoedown/stack.h
  type hoedown_stack (line 17) | struct hoedown_stack {
  type hoedown_stack (line 22) | typedef struct hoedown_stack hoedown_stack;

FILE: MarkLite/Core/hoedown/version.c
  function hoedown_version (line 3) | void

FILE: MarkLite/Resource/Resources/MathJax/a11y/complexity.js
  function r (line 1) | function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{...
  function o (line 1) | function o(){this.constructor=t}
  function d (line 1) | function d(t,e){return r(o,i=t),o.prototype.complexity=function(t){this....
  function y (line 1) | function y(t){var e,n;return r(o,n=t),o.prototype.complexity=function(){...
  function o (line 1) | function o(){this.constructor=t}
  function u (line 1) | function u(t,e){var o=a.call(this,t)||this;o.complexity={text:.5,token:....
  function n (line 1) | function n(t){var r=this;this.cutoff={identifier:3,number:3,text:10,infi...
  function c (line 1) | function c(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o ...

FILE: MarkLite/Resource/Resources/MathJax/a11y/explorer.js
  function n (line 1) | function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{...
  function n (line 1) | function n(t,e,o){for(var r=[],n=3;n<arguments.length;n++)r[n-3]=argumen...
  function o (line 1) | function o(){this.constructor=t}
  function c (line 1) | function c(t){this.document=t,this.CLASS=this.constructor,this.AddStyles...
  function d (line 1) | function d(){return null!==p&&p.apply(this,arguments)||this}
  function v (line 1) | function v(){return null!==f&&f.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==g&&g.apply(this,arguments)||this}
  function w (line 1) | function w(t){var e=x.call(this,t)||this;return e.document=t,e.div.setAt...
  function O (line 1) | function O(t){var e=S.call(this,t)||this;return e.document=t,e.inner.sty...
  function o (line 1) | function o(){this.constructor=t}
  function m (line 1) | function m(t,r){return n(e,s=t),e.prototype.explorable=function(t){if(!(...
  function b (line 1) | function b(t){var e,i;return n(o,i=t),o.prototype.explorable=function(){...
  function _ (line 1) | function _(t,e,o){switch(e){case"magnification":switch(o){case"None":t.o...
  function o (line 1) | function o(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==a&&a.apply(this,arguments)||this;return t.even...
  function d (line 1) | function d(t,e,o,r){var n=p.call(this,t,e,o)||this;return n.document=t,n...
  function v (line 1) | function v(t,e,o,r){var n=f.call(this,t,e,o)||this;return n.document=t,n...
  function o (line 1) | function o(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==a&&a.apply(this,arguments)||this;return t.even...
  function d (line 1) | function d(t,e,o,r,n){var i=p.call(this,t,e,o)||this;return i.document=t...
  function v (line 1) | function v(){return null!==f&&f.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==g&&g.apply(this,arguments)||this}
  function w (line 1) | function w(t,e,o){var r=x.call(this,t,new s.DummyRegion(t),o,function(t)...
  function o (line 1) | function o(){this.constructor=t}
  function l (line 1) | function l(t,e,o,r){var n=i.call(this,t,null,o)||this;return n.document=...
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function p (line 1) | function p(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o ...
  function n (line 1) | function n(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)}

FILE: MarkLite/Resource/Resources/MathJax/a11y/semantic-enrich.js
  function a (line 1) | function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,n,a){return s(e,r=t),e.prototype.enrich=function(t){if(!(th...
  function M (line 1) | function M(t,o){var e,i;return s(r,i=t),r.prototype.attachSpeech=functio...
  function i (line 1) | function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/adaptors/liteDOM.js
  function o (line 1) | function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{...
  function o (line 1) | function o(t,e,n){var r,o;void 0===e&&(e={}),void 0===n&&(n=[]),this.kin...
  function i (line 1) | function i(){this.root=new r.LiteElement("html",{},[this.head=new r.Lite...
  function n (line 1) | function n(){this.constructor=t}
  function a (line 1) | function a(t){void 0===t&&(t=""),this.value=t}
  function l (line 1) | function l(){return null!==u&&u.apply(this,arguments)||this}
  function a (line 1) | function a(){}
  function n (line 1) | function n(){this.constructor=t}
  function _ (line 1) | function _(t){void 0===t&&(t=null);var e=s.call(this)||this,n=e.construc...
  function r (line 1) | function r(){this.DOMParser=u.LiteParser,this.NodeList=a.LiteList,this.H...
  function a (line 1) | function a(t){this.nodes=[],this.nodes=o(t)}
  function p (line 1) | function p(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n ...

FILE: MarkLite/Resource/Resources/MathJax/core.js
  function o (line 1) | function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function O (line 1) | function O(t,e,r){void 0===e&&(e={}),void 0===r&&(r=[]);var n=c.call(thi...
  function M (line 1) | function M(){return null!==f&&f.apply(this,arguments)||this}
  function v (line 1) | function v(){return null!==E&&E.apply(this,arguments)||this}
  function L (line 1) | function L(){return null!==m&&m.apply(this,arguments)||this}
  function T (line 1) | function T(){return null!==R&&R.apply(this,arguments)||this}
  function S (line 1) | function S(){var t=null!==_&&_.apply(this,arguments)||this;return t.text...
  function x (line 1) | function x(){var t=null!==C&&C.apply(this,arguments)||this;return t.xml=...
  function c (line 1) | function c(t){return"object"==typeof t&&null!==t&&t.constructor===n}
  function f (line 1) | function f(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbol...
  function h (line 1) | function h(t){var e,r,n={};try{for(var o=O(f(t)),i=o.next();!i.done;i=o....
  function d (line 1) | function d(o,i,s){var e,t;void 0===s&&(s=!0);function r(t){if(s&&void 0=...
  function o (line 1) | function o(t){for(var e,r,n=[],o=1;o<arguments.length;o++)n[o-1]=argumen...
  function o (line 1) | function o(t,e){this.global=e,this.defaults=Object.create(e),this.inheri...
  function o (line 1) | function o(){this.items=[],this.items=[]}
  function n (line 1) | function n(t,e,r,n,o){void 0===r&&(r=!0),void 0===n&&(n={i:0,n:0,delim:"...
  function r (line 1) | function r(){this.constructor=t}
  function M (line 1) | function M(){return null!==i&&i.apply(this,arguments)||this}
  function v (line 1) | function v(){return null!==E&&E.apply(this,arguments)||this}
  function L (line 1) | function L(){return null!==m&&m.apply(this,arguments)||this}
  function T (line 1) | function T(){return null!==R&&R.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==_&&_.apply(this,arguments)||this}
  function I (line 1) | function I(t,e,r){var n=this,o=this.constructor;this.document=t,this.opt...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function a (line 1) | function a(t){var e,r;void 0===t&&(t=null),this.defaultKind="unknown",th...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t,e,r){var n,o;void 0===e&&(e={}),void 0===r&&(r=[]),this.par...
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==v&&v.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){void 0===t&&(t=null);return t=t||new s.MmlFactory,i.call(t...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==i&&i.apply(this,arguments)||this;return t.docu...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){var e=i.call(this,t.document)||this;return e.window=t,e.pa...
  function o (line 1) | function o(t){void 0===t&&(t=null),this.document=t}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function c (line 1) | function c(t,e){void 0===e&&(e=5),this.documentClass=a,this.adaptor=t,th...
  function s (line 1) | function s(t){void 0===t&&(t={}),this.adaptor=null,this.mmlFactory=null;...
  function s (line 1) | function s(t){void 0===t&&(t={}),this.adaptor=null;var e=this.constructo...
  function f (line 1) | function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function n (line 1) | function n(t,e,r,n){return void 0===r&&(r=o.TEXCLASS.BIN),void 0===n&&(n...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t._cor...
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(){var t=null!==c&&c.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function O (line 1) | function O(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(){var t=null!==u&&u.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){var t=null!==h&&h.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){this.bits=0}
  function o (line 1) | function o(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function a (line 1) | function a(t){var e,r;this.nodeHandlers=new Map;try{for(var n=l(t.getKin...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(t,e,r){var n=this,o=T(A.separateOptions(r,c.HTMLDomStrings.OP...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t,e,r,n,o){return void 0===r&&(r=!0),void 0===n&&(n={node:nul...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function i (line 1) | function i(t){void 0===t&&(t=null);var e=this.constructor;this.options=n...
  function Nt (line 1) | function Nt(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function a (line 1) | function a(t,e){var r,n;try{for(var o=u(Object.keys(e)),i=o.next();!i.do...
  function i (line 1) | function i(t){var e=this.constructor;this.options=n.userOptions(n.defaul...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==i&&i.apply(this,arguments)||this;return t.docu...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function o (line 1) | function o(t,e){this.factory=t,this.node=e}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(t,e){if("#"===e.charAt(0))return a(e.slice(1));if(n.entities[...
  function a (line 1) | function a(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t...
  function E (line 1) | function E(t){for(var e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/...
  function i (line 1) | function i(t){var e,r,n=E(this.styles[t]);0===n.length&&n.push(""),1===n...
  function s (line 1) | function s(t){var e,r,n=v.connect[t].children,o=[];try{for(var i=O(n),s=...
  function a (line 1) | function a(t){var e,r;try{for(var n=O(v.connect[t].children),o=n.next();...
  function u (line 1) | function u(t){var e,r,n=l(v.connect[t].children),o=this.styles[this.chil...
  function c (line 1) | function c(t){var e,r,n,o,i={width:"",style:"",color:""};try{for(var s=O...
  function p (line 1) | function p(t){var e,r,n=[];try{for(var o=O(v.connect[t].children),i=o.ne...
  function h (line 1) | function h(t){var e,r,n,o,i=E(this.styles[t]),s={style:"",variant:[],wei...
  function d (line 1) | function d(t){}
  function y (line 1) | function y(t){void 0===t&&(t=""),this.parse(t)}

FILE: MarkLite/Resource/Resources/MathJax/input/asciimath.js
  function a (line 1) | function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function i (line 1) | function i(){this.constructor=t}
  function d (line 1) | function d(t){var e=this,i=r(h.separateOptions(t,p.FindAsciiMath.OPTIONS...
  function i (line 1) | function i(){this.constructor=t}
  function p (line 1) | function p(t){var e=s.call(this,t)||this;return e.getPatterns(),e}
  function r (line 1) | function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i ...
  function i (line 1) | function i(t){var e=t.constructor;for(var i in e=e||function(){},t)"cons...
  function e (line 1) | function e(){return arguments.callee.execute.apply(arguments.callee,argu...
  function r (line 1) | function r(t){return"function"==typeof t&&t.isCallback}
  function o (line 1) | function o(t,e){if(1<arguments.length&&(t=2===arguments.length&&"functio...
  function l (line 1) | function l(t,e){(t=o(t)).called||(c(t,e),e.pending++)}
  function i (line 1) | function i(){var t=this.signal;delete this.signal,this.execute=this.oldE...
  function u (line 1) | function u(t){(t=o(t)).pending=0;for(var e=1,i=arguments.length;e<i;e++)...
  function i (line 1) | function i(){for(var t=0,e=o.length;t<e;t++)s.Ajax.head.removeChild(o[t]...
  function i (line 1) | function i(t){return N?I.createElement(t):I.createElementNS("http://www....
  function n (line 1) | function n(t){return N?I.createElement("m:"+t):I.createElementNS(A,t)}
  function x (line 1) | function x(t,e){var i;return i=N?I.createElement("m:"+t):I.createElement...
  function a (line 1) | function a(t,e){return t.input>e.input?1:-1}
  function s (line 1) | function s(){var t,e=B.length;for(t=0;t<e;t++)B[t].tex&&B.push({input:B[...
  function r (line 1) | function r(){var t;for(B.sort(a),t=0;t<B.length;t++)K[t]=B[t].input}
  function T (line 1) | function T(t,e){var i;i="\\"==t.charAt(e)&&"\\"!=t.charAt(e+1)&&" "!=t.c...
  function u (line 1) | function u(t,e,i){if(0==i){var n,a;for(i=-1,n=t.length;i+1<n;)t[a=i+n>>1...
  function C (line 1) | function C(t){for(var e,i,n,a=0,s="",r=!0,o=1;o<=t.length&&r;o++)i=t.sli...
  function b (line 1) | function b(t){var e;t.hasChildNodes()&&(!t.firstChild.hasChildNodes()||"...
  function h (line 1) | function h(t){var e,i,n,a,s,r=I.createDocumentFragment();if(null==(e=C(t...
  function S (line 1) | function S(t){var e,i,n,a,s,r;if(i=C(t=T(t,0)),a=(s=h(t))[0],(e=C(t=s[1]...
  function p (line 1) | function p(t,e){for(var i,n,a,s,r=I.createDocumentFragment();n=(a=S(t=T(...
  function o (line 1) | function o(t,e){var i;return G=0,i=x("mstyle",p((t=(t=(t=(t=t.replace(/&...

FILE: MarkLite/Resource/Resources/MathJax/input/mml.js
  function a (line 1) | function a(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(t){void 0===t&&(t={});var e=this,r=n(l.separateOptions(t,c.Fi...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function l (line 1) | function l(t){void 0===t&&(t={});var e=this.constructor;this.options=i.u...
  function s (line 1) | function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/input/mml/entities.js
  function a (line 1) | function a(r){if(o[r])return o[r].exports;var e=o[r]={i:r,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex-base.js
  function a (line 1) | function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function p (line 1) | function p(t,e){var r,n;try{for(var a=u(Object.keys(e)),i=a.next();!i.do...
  function f (line 1) | function f(t,e,r){(t.childNodes[e]=r)&&(r.parent=t)}
  function h (line 1) | function h(t,e){return t.isKind(e)}
  function o (line 1) | function o(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments...
  function o (line 1) | function o(t,e){var r,n;this._fallback=e,this._configuration=[];try{for(...
  function p (line 1) | function p(t){var e,r;this.map=new Map;try{for(var n=u(Object.keys(t.han...
  function i (line 1) | function i(t,e,r){var n,a;this._string=t,this.configuration=r,this.macro...
  function g (line 1) | function g(t,e){void 0===e&&(e=!1);var r=t.match(e?p:l);return r?[r[1].r...
  function v (line 1) | function v(t,e,r){"{"!==e&&"}"!==e||(e="\\"+e);var n="{\\bigg"+r+" "+e+"...
  function b (line 1) | function b(t,e,r){e=e.replace(/^\s+/,y.entities.nbsp).replace(/\s+$/,y.e...
  function T (line 1) | function T(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z...
  function S (line 1) | function S(t,e){for(;0<e;)t=t.trim().slice(1,-1),e--;return t.trim()}
  function P (line 1) | function P(t,e){for(var r=t.length,n=0,a="",i=0,o=0,s=!0,l=!1;i<r;){var ...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){this.counter=0,this.allCounter=0,this.configuration=null,th...
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t,e){this._name=t,this._parser=e,i.MapHandler.register(this)}
  function p (line 1) | function p(t,e,r){var n=u.call(this,t,e)||this;return n._regExp=r,n}
  function g (line 1) | function g(){var t=null!==f&&f.apply(this,arguments)||this;return t.map=...
  function T (line 1) | function T(t,e,r){var n,a,i=v.call(this,t,e)||this;try{for(var o=m(Objec...
  function x (line 1) | function x(){return null!==S&&S.apply(this,arguments)||this}
  function O (line 1) | function O(t,e,r){var n,a,i=M.call(this,t,null)||this;try{for(var o=m(Ob...
  function w (line 1) | function w(){return null!==E&&E.apply(this,arguments)||this}
  function I (line 1) | function I(t,e,r,n){var a=k.call(this,t,r,n)||this;return a.parser=e,a}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t){this._nodes=t}
  function h (line 1) | function h(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function u (line 1) | function u(t,e,r,n,a,i,o,s,l,u,c){void 0===e&&(e={}),void 0===r&&(r={}),...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){var r=s.call(this,t)||this;return r.global=e,r}
  function b (line 1) | function b(){return null!==g&&g.apply(this,arguments)||this}
  function P (line 1) | function P(){return null!==T&&T.apply(this,arguments)||this}
  function A (line 1) | function A(){return null!==x&&x.apply(this,arguments)||this}
  function C (line 1) | function C(){return null!==O&&O.apply(this,arguments)||this}
  function _ (line 1) | function _(){return null!==w&&w.apply(this,arguments)||this}
  function L (line 1) | function L(t){var e=I.call(this,t)||this;return e.setProperty("name","\\...
  function j (line 1) | function j(t){var e=F.call(this,t)||this;return e.setProperty("delim","(...
  function X (line 1) | function X(t){var e=B.call(this,t)||this;return e.setProperty("delim",")...
  function G (line 1) | function G(){return null!==q&&q.apply(this,arguments)||this}
  function J (line 1) | function J(){return null!==U&&U.apply(this,arguments)||this}
  function $ (line 1) | function $(){return null!==K&&K.apply(this,arguments)||this}
  function Z (line 1) | function Z(){return null!==W&&W.apply(this,arguments)||this}
  function et (line 1) | function et(){return null!==Q&&Q.apply(this,arguments)||this}
  function at (line 1) | function at(){return null!==rt&&rt.apply(this,arguments)||this}
  function st (line 1) | function st(){return null!==it&&it.apply(this,arguments)||this}
  function ct (line 1) | function ct(){var t=null!==lt&&lt.apply(this,arguments)||this;return t.r...
  function ht (line 1) | function ht(){return null!==pt&&pt.apply(this,arguments)||this}
  function yt (line 1) | function yt(){var t=null!==dt&&dt.apply(this,arguments)||this;return t.t...
  function bt (line 1) | function bt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function Pt (line 1) | function Pt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function r (line 1) | function r(){this.constructor=t}
  function T (line 1) | function T(t){void 0===t&&(t={});var e=this,r=u(c.separateOptions(t,T.OP...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){var e=i.call(this,t)||this;return e.getPatterns(),e}
  function r (line 1) | function r(t,e,r){var n,a;try{for(var i=h(t.getList("m"+e+r)),o=i.next()...
  function r (line 1) | function r(e,r){return e.getExplicitNames().filter(function(t){return t!...
  function a (line 1) | function a(t,e,r){this._factory=t,this._env=e,this.global={},this.stack=...
  function p (line 1) | function p(t,e){void 0===e&&(e=[]),this.options={},this.parsers=[],this....
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function h (line 1) | function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.defa...
  function o (line 1) | function o(){this.mmlFactory=null,this.factory={node:o.createNode,token:...
  function a (line 1) | function a(t,e,r){this._symbol=t,this._char=e,this._attributes=r}
  function o (line 1) | function o(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._a...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{}...
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function o (line 1) | function o(t,e){var r=t.stack.env,n=r.inRoot;r.inRoot=!0;var a=new u.def...
  function O (line 1) | function O(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex-full.js
  function a (line 1) | function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function c (line 1) | function c(t,e,r,n,a,o,i,s,l,c,u){void 0===e&&(e={}),void 0===r&&(r={}),...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t,e){this._name=t,this._parser=e,o.MapHandler.register(this)}
  function p (line 1) | function p(t,e,r){var n=c.call(this,t,e)||this;return n._regExp=r,n}
  function y (line 1) | function y(){var t=null!==f&&f.apply(this,arguments)||this;return t.map=...
  function x (line 1) | function x(t,e,r){var n,a,o=v.call(this,t,e)||this;try{for(var i=m(Objec...
  function w (line 1) | function w(){return null!==_&&_.apply(this,arguments)||this}
  function C (line 1) | function C(t,e,r){var n,a,o=M.call(this,t,null)||this;try{for(var i=m(Ob...
  function k (line 1) | function k(){return null!==S&&S.apply(this,arguments)||this}
  function N (line 1) | function N(t,e,r,n){var a=O.call(this,t,r,n)||this;return a.parser=e,a}
  function i (line 1) | function i(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments...
  function p (line 1) | function p(t,e){var r,n;try{for(var a=c(Object.keys(e)),o=a.next();!o.do...
  function f (line 1) | function f(t,e,r){(t.childNodes[e]=r)&&(r.parent=t)}
  function d (line 1) | function d(t,e){return t.isKind(e)}
  function y (line 1) | function y(t,e){void 0===e&&(e=!1);var r=t.match(e?p:l);return r?[r[1].r...
  function v (line 1) | function v(t,e,r){"{"!==e&&"}"!==e||(e="\\"+e);var n="{\\bigg"+r+" "+e+"...
  function b (line 1) | function b(t,e,r){e=e.replace(/^\s+/,g.entities.nbsp).replace(/\s+$/,g.e...
  function x (line 1) | function x(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z...
  function _ (line 1) | function _(t,e){for(;0<e;)t=t.trim().slice(1,-1),e--;return t.trim()}
  function A (line 1) | function A(t,e){for(var r=t.length,n=0,a="",o=0,i=0,s=!0,l=!1;o<r;){var ...
  function o (line 1) | function o(t,e,r){var n,a;this._string=t,this.configuration=r,this.macro...
  function i (line 1) | function i(t,e){var r,n;this._fallback=e,this._configuration=[];try{for(...
  function p (line 1) | function p(t){var e,r;this.map=new Map;try{for(var n=c(Object.keys(t.han...
  function i (line 1) | function i(t,e){var r=t.stack.env,n=r.inRoot;r.inRoot=!0;var a=new c.def...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){this._nodes=t}
  function d (line 1) | function d(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function a (line 1) | function a(t,e,r){this._symbol=t,this._char=e,this._attributes=r}
  function i (line 1) | function i(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._a...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){this.counter=0,this.allCounter=0,this.configuration=null,th...
  function d (line 1) | function d(){return null!==p&&p.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==h&&h.apply(this,arguments)||this}
  function i (line 1) | function i(){this.mmlFactory=null,this.factory={node:i.createNode,token:...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{}...
  function g (line 1) | function g(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function g (line 1) | function g(t,e){var r=s.call(this,t)||this;return r.global=e,r}
  function b (line 1) | function b(){return null!==y&&y.apply(this,arguments)||this}
  function A (line 1) | function A(){return null!==x&&x.apply(this,arguments)||this}
  function P (line 1) | function P(){return null!==w&&w.apply(this,arguments)||this}
  function T (line 1) | function T(){return null!==C&&C.apply(this,arguments)||this}
  function E (line 1) | function E(){return null!==k&&k.apply(this,arguments)||this}
  function q (line 1) | function q(t){var e=N.call(this,t)||this;return e.setProperty("name","\\...
  function B (line 1) | function B(t){var e=L.call(this,t)||this;return e.setProperty("delim","(...
  function j (line 1) | function j(t){var e=G.call(this,t)||this;return e.setProperty("delim",")...
  function X (line 1) | function X(){return null!==D&&D.apply(this,arguments)||this}
  function z (line 1) | function z(){return null!==V&&V.apply(this,arguments)||this}
  function J (line 1) | function J(){return null!==U&&U.apply(this,arguments)||this}
  function Z (line 1) | function Z(){return null!==W&&W.apply(this,arguments)||this}
  function et (line 1) | function et(){return null!==Y&&Y.apply(this,arguments)||this}
  function at (line 1) | function at(){return null!==rt&&rt.apply(this,arguments)||this}
  function st (line 1) | function st(){return null!==ot&&ot.apply(this,arguments)||this}
  function ut (line 1) | function ut(){var t=null!==lt&&lt.apply(this,arguments)||this;return t.r...
  function dt (line 1) | function dt(){return null!==pt&&pt.apply(this,arguments)||this}
  function gt (line 1) | function gt(){var t=null!==ht&&ht.apply(this,arguments)||this;return t.t...
  function bt (line 1) | function bt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function At (line 1) | function At(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function l (line 1) | function l(t){return F.root=t,n.outputJax.getBBox(F,n).w}
  function C (line 1) | function C(t){for(var e=0;t&&!u.default.isType(t,"mtable");){if(u.defaul...
  function S (line 1) | function S(t,e){return t.childNodes["up"===e?1:0].childNodes[0].childNod...
  function T (line 1) | function T(t,e){return t.childNodes[e].childNodes[0].childNodes[0]}
  function k (line 1) | function k(t){return T(t,0)}
  function O (line 1) | function O(t,e){return t.childNodes["up"===e?0:1].childNodes[0].childNod...
  function E (line 1) | function E(t){for(;t&&!u.default.isType(t,"mtd");)t=t.parent;return t}
  function N (line 1) | function N(t){for(;t&&null==M.getProperty(t,"inference");)t=t.parent;ret...
  function I (line 1) | function I(t,e,r){void 0===r&&(r=!1);var n=0;if(t===e)return n;if(t!==e....
  function q (line 1) | function q(t,e){void 0===e&&(e=!1);var r=C(t),n=O(r,M.getProperty(r,"inf...
  function L (line 1) | function L(t,e,r,n){if(void 0===n&&(n=!1),M.getProperty(e,"inferenceRule...
  function c (line 1) | function c(t,e,r,n,a){var o=t.nodeFactory.create("node","mspace",[],{wid...
  function a (line 1) | function a(t,e,r){this._factory=t,this._env=e,this.global={},this.stack=...
  function c (line 1) | function c(t,e){return t.string.substr(t.i,e.length)!==e?0:e.match(/\\[a...
  function f (line 1) | function f(t,e){var r,n=t.parseOptions.options.require,a=e.substr(n.pref...
  function d (line 1) | function d(t,e){var r=t.options.require,n=r.allow,a=("["===e.substr(0,1)...
  function r (line 1) | function r(){this.constructor=t}
  function x (line 1) | function x(t){void 0===t&&(t={});var e=this,r=c(u.separateOptions(t,x.OP...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t){var e=o.call(this,t)||this;return e.getPatterns(),e}
  function r (line 1) | function r(t,e,r){var n,a;try{for(var o=d(t.getList("m"+e+r)),i=o.next()...
  function r (line 1) | function r(e,r){return e.getExplicitNames().filter(function(t){return t!...
  function p (line 1) | function p(t,e){void 0===e&&(e=[]),this.options={},this.parsers=[],this....
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function d (line 1) | function d(){var t=null!==p&&p.apply(this,arguments)||this;return t.defa...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==c&&c.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function i (line 1) | function i(t,e,r,n){var a=o.NodeFactory.createToken(t,e,r,n);return"mtex...
  function p (line 1) | function p(t){var e,r;try{for(var n=s(t.data.getList("fixBold")),a=n.nex...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){var t=null!==o&&o.apply(this,arguments)||this;return t.left...
  function d (line 1) | function d(t,e,r,n,a,o,i){var s,l,c,u,p=t.create("node","mtr",[t.create(...
  function v (line 1) | function v(t,e){if("$"!==t.GetNext())throw new m.default("IllegalUseOfCo...
  function u (line 1) | function u(t){var e="+"+t,r=t.replace(/^.*?([a-z]*)$/,"$1");return{width...
  function i (line 1) | function i(){this.userColors=new Map}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function h (line 1) | function h(t,e){return t>=e[0]&&t<=e[1]}
  function A (line 1) | function A(t,e,r,n){var a=t.configuration.parser,o=l.NodeFactory.createT...
  function o (line 1) | function o(t,e,r,n,a){var o=new v.default(n,t.stack.env,t.configuration)...
  function w (line 1) | function w(t,e,r){var n=s(t,3),a=n[0],o=n[1],i=n[2];return e&&r?"\\left\...
  function ft (line 1) | function ft(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function n (line 1) | function n(t){for(var e=[],r=0,n=t.length;r<n;r++)e[r]=l.default.Em(t[r]...
  function u (line 1) | function u(t,e){if("string"==typeof e)return 0!==t.indexOf(e)?null:e;var...
  function n (line 1) | function n(t){}
  function a (line 1) | function a(t){}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function k (line 1) | function k(t,e,r,n){var a,o,i,s;if(v.Package.packages.has(t.options.requ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex.js
  function a (line 1) | function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function o (line 1) | function o(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments...
  function f (line 1) | function f(t,e){var r,n;try{for(var a=u(Object.keys(e)),i=a.next();!i.do...
  function p (line 1) | function p(t,e,r){(t.childNodes[e]=r)&&(r.parent=t)}
  function h (line 1) | function h(t,e){return t.isKind(e)}
  function y (line 1) | function y(t,e){void 0===e&&(e=!1);var r=t.match(e?f:l);return r?[r[1].r...
  function v (line 1) | function v(t,e,r){"{"!==e&&"}"!==e||(e="\\"+e);var n="{\\bigg"+r+" "+e+"...
  function b (line 1) | function b(t,e,r){e=e.replace(/^\s+/,g.entities.nbsp).replace(/\s+$/,g.e...
  function x (line 1) | function x(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z...
  function A (line 1) | function A(t,e){for(;0<e;)t=t.trim().slice(1,-1),e--;return t.trim()}
  function M (line 1) | function M(t,e){for(var r=t.length,n=0,a="",i=0,o=0,s=!0,l=!1;i<r;){var ...
  function o (line 1) | function o(t,e){var r,n;this._fallback=e,this._configuration=[];try{for(...
  function f (line 1) | function f(t){var e,r;this.map=new Map;try{for(var n=u(Object.keys(t.han...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t,e){this._name=t,this._parser=e,i.MapHandler.register(this)}
  function f (line 1) | function f(t,e,r){var n=u.call(this,t,e)||this;return n._regExp=r,n}
  function y (line 1) | function y(){var t=null!==p&&p.apply(this,arguments)||this;return t.map=...
  function x (line 1) | function x(t,e,r){var n,a,i=v.call(this,t,e)||this;try{for(var o=m(Objec...
  function w (line 1) | function w(){return null!==A&&A.apply(this,arguments)||this}
  function C (line 1) | function C(t,e,r){var n,a,i=T.call(this,t,null)||this;try{for(var o=m(Ob...
  function E (line 1) | function E(){return null!==P&&P.apply(this,arguments)||this}
  function I (line 1) | function I(t,e,r,n){var a=k.call(this,t,r,n)||this;return a.parser=e,a}
  function u (line 1) | function u(t,e,r,n,a,i,o,s,l,u,c){void 0===e&&(e={}),void 0===r&&(r={}),...
  function i (line 1) | function i(t,e,r){var n,a;this._string=t,this.configuration=r,this.macro...
  function a (line 1) | function a(t,e,r){this._symbol=t,this._char=e,this._attributes=r}
  function o (line 1) | function o(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._a...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){this.counter=0,this.allCounter=0,this.configuration=null,th...
  function h (line 1) | function h(){return null!==f&&f.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t){this._nodes=t}
  function h (line 1) | function h(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function r (line 1) | function r(){this.constructor=t}
  function g (line 1) | function g(t,e){var r=s.call(this,t)||this;return r.global=e,r}
  function b (line 1) | function b(){return null!==y&&y.apply(this,arguments)||this}
  function M (line 1) | function M(){return null!==x&&x.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==w&&w.apply(this,arguments)||this}
  function O (line 1) | function O(){return null!==C&&C.apply(this,arguments)||this}
  function _ (line 1) | function _(){return null!==E&&E.apply(this,arguments)||this}
  function L (line 1) | function L(t){var e=I.call(this,t)||this;return e.setProperty("name","\\...
  function R (line 1) | function R(t){var e=F.call(this,t)||this;return e.setProperty("delim","(...
  function G (line 1) | function G(t){var e=j.call(this,t)||this;return e.setProperty("delim",")...
  function H (line 1) | function H(){return null!==B&&B.apply(this,arguments)||this}
  function J (line 1) | function J(){return null!==U&&U.apply(this,arguments)||this}
  function $ (line 1) | function $(){return null!==K&&K.apply(this,arguments)||this}
  function Z (line 1) | function Z(){return null!==W&&W.apply(this,arguments)||this}
  function et (line 1) | function et(){return null!==Q&&Q.apply(this,arguments)||this}
  function at (line 1) | function at(){return null!==rt&&rt.apply(this,arguments)||this}
  function st (line 1) | function st(){return null!==it&&it.apply(this,arguments)||this}
  function ct (line 1) | function ct(){var t=null!==lt&&lt.apply(this,arguments)||this;return t.r...
  function ht (line 1) | function ht(){return null!==ft&&ft.apply(this,arguments)||this}
  function gt (line 1) | function gt(){var t=null!==dt&&dt.apply(this,arguments)||this;return t.t...
  function bt (line 1) | function bt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function Mt (line 1) | function Mt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function o (line 1) | function o(t,e){var r=t.stack.env,n=r.inRoot;r.inRoot=!0;var a=new u.def...
  function r (line 1) | function r(){this.constructor=t}
  function x (line 1) | function x(t){void 0===t&&(t={});var e=this,r=u(c.separateOptions(t,x.OP...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){var e=i.call(this,t)||this;return e.getPatterns(),e}
  function r (line 1) | function r(t,e,r){var n,a;try{for(var i=h(t.getList("m"+e+r)),o=i.next()...
  function r (line 1) | function r(e,r){return e.getExplicitNames().filter(function(t){return t!...
  function a (line 1) | function a(t,e,r){this._factory=t,this._env=e,this.global={},this.stack=...
  function f (line 1) | function f(t,e){void 0===e&&(e=[]),this.options={},this.parsers=[],this....
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function h (line 1) | function h(){var t=null!==f&&f.apply(this,arguments)||this;return t.defa...
  function o (line 1) | function o(){this.mmlFactory=null,this.factory={node:o.createNode,token:...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{}...
  function g (line 1) | function g(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function p (line 1) | function p(t,e){var r,n=t.parseOptions.options.require,a=e.substr(n.pref...
  function h (line 1) | function h(t,e){var r=t.options.require,n=r.allow,a=("["===e.substr(0,1)...
  function u (line 1) | function u(t,e){return t.string.substr(t.i,e.length)!==e?0:e.match(/\\[a...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function R (line 1) | function R(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function n (line 1) | function n(t){for(var e=[],r=0,n=t.length;r<n;r++)e[r]=l.default.Em(t[r]...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==i&&i.apply(this,arguments)||this}
  function E (line 1) | function E(t,e,r,n){var a,i,o,s;if(v.Package.packages.has(t.options.requ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/action.js
  function o (line 1) | function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/all-packages.js
  function n (line 1) | function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{...
  function c (line 1) | function c(t){return G.root=t,a.outputJax.getBBox(G,a).w}
  function P (line 1) | function P(t){for(var e=0;t&&!u.default.isType(t,"mtable");){if(u.defaul...
  function S (line 1) | function S(t,e){return t.childNodes["up"===e?1:0].childNodes[0].childNod...
  function k (line 1) | function k(t,e){return t.childNodes[e].childNodes[0].childNodes[0]}
  function q (line 1) | function q(t){return k(t,0)}
  function O (line 1) | function O(t,e){return t.childNodes["up"===e?0:1].childNodes[0].childNod...
  function T (line 1) | function T(t){for(;t&&!u.default.isType(t,"mtd");)t=t.parent;return t}
  function I (line 1) | function I(t){for(;t&&null==A.getProperty(t,"inference");)t=t.parent;ret...
  function E (line 1) | function E(t,e,r){void 0===r&&(r=!1);var a=0;if(t===e)return a;if(t!==e....
  function N (line 1) | function N(t,e){void 0===e&&(e=!1);var r=P(t),a=O(r,A.getProperty(r,"inf...
  function B (line 1) | function B(t,e,r,a){if(void 0===a&&(a=!1),A.getProperty(e,"inferenceRule...
  function l (line 1) | function l(t,e,r,a,n){var o=t.nodeFactory.create("node","mspace",[],{wid...
  function p (line 1) | function p(t,e){var r,a=t.parseOptions.options.require,n=e.substr(a.pref...
  function m (line 1) | function m(t,e){var r=t.options.require,a=r.allow,n=("["===e.substr(0,1)...
  function l (line 1) | function l(t,e){return t.string.substr(t.i,e.length)!==e?0:e.match(/\\[a...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function q (line 1) | function q(t,e,r,a){var n,o,i,s;if(x.Package.packages.has(t.options.requ...
  function s (line 1) | function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function a (line 1) | function a(t){for(var e=[],r=0,a=t.length;r<a;r++)e[r]=c.default.Em(t[r]...
  function i (line 1) | function i(t,e,r,a){var n=o.NodeFactory.createToken(t,e,r,a);return"mtex...
  function d (line 1) | function d(t){var e,r;try{for(var a=s(t.data.getList("fixBold")),n=a.nex...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(){var t=null!==o&&o.apply(this,arguments)||this;return t.left...
  function m (line 1) | function m(t,e,r,a,n,o,i){var s,c,l,u,d=t.create("node","mtr",[t.create(...
  function x (line 1) | function x(t,e){if("$"!==t.GetNext())throw new h.default("IllegalUseOfCo...
  function u (line 1) | function u(t){var e="+"+t,r=t.replace(/^.*?([a-z]*)$/,"$1");return{width...
  function i (line 1) | function i(){this.userColors=new Map}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function u (line 1) | function u(t,e){if("string"==typeof e)return 0!==t.indexOf(e)?null:e;var...
  function a (line 1) | function a(t){}
  function n (line 1) | function n(t){}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function f (line 1) | function f(t,e){return t>=e[0]&&t<=e[1]}
  function M (line 1) | function M(t,e,r,a){var n=t.configuration.parser,o=c.NodeFactory.createT...
  function o (line 1) | function o(t,e,r,a,n){var o=new x.default(a,t.stack.env,t.configuration)...
  function w (line 1) | function w(t,e,r){var a=s(t,3),n=a[0],o=a[1],i=a[2];return e&&r?"\\left\...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/ams.js
  function n (line 1) | function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{...
  function a (line 1) | function a(){this.constructor=t}
  function d (line 1) | function d(t){for(var e=[],a=1;a<arguments.length;a++)e[a-1]=arguments[a...
  function o (line 1) | function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a ...
  function a (line 1) | function a(){this.constructor=t}
  function c (line 1) | function c(){return null!==u&&u.apply(this,arguments)||this}
  function r (line 1) | function r(t){for(var e=[],a=0,r=t.length;a<r;a++)e[a]=s.default.Em(t[a]...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/amscd.js
  function n (line 1) | function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{...
  function i (line 1) | function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/autoload.js
  function n (line 1) | function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{...
  function o (line 1) | function o(){this.constructor=t}
  function p (line 1) | function p(){return null!==a&&a.apply(this,arguments)||this}
  function j (line 1) | function j(t,e,o,r){var n,a,i,u;if(b.Package.packages.has(t.options.requ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/bbox.js
  function o (line 1) | function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/boldsymbol.js
  function n (line 1) | function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{...
  function i (line 1) | function i(t,e,o,a){var n=r.NodeFactory.createToken(t,e,o,a);return"mtex...
  function d (line 1) | function d(t){var e,o;try{for(var a=l(t.data.getList("fixBold")),n=a.nex...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/braket.js
  function o (line 1) | function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=e}
  function s (line 1) | function s(){return null!==i&&i.apply(this,arguments)||this}
  function c (line 1) | function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/bussproofs.js
  function n (line 1) | function n(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{...
  function u (line 1) | function u(e){return B.root=e,o.outputJax.getBBox(B,o).w}
  function I (line 1) | function I(e){for(var t=0;e&&!s.default.isType(e,"mtable");){if(s.defaul...
  function C (line 1) | function C(e,t){return e.childNodes["up"===t?1:0].childNodes[0].childNod...
  function S (line 1) | function S(e,t){return e.childNodes[t].childNodes[0].childNodes[0]}
  function N (line 1) | function N(e){return S(e,0)}
  function A (line 1) | function A(e,t){return e.childNodes["up"===t?0:1].childNodes[0].childNod...
  function L (line 1) | function L(e){for(;e&&!s.default.isType(e,"mtd");)e=e.parent;return e}
  function j (line 1) | function j(e){for(;e&&null==w.getProperty(e,"inference");)e=e.parent;ret...
  function k (line 1) | function k(e,t,r){void 0===r&&(r=!1);var o=0;if(e===t)return o;if(e!==t....
  function O (line 1) | function O(e,t){void 0===t&&(t=!1);var r=I(e),o=A(r,w.getProperty(r,"inf...
  function J (line 1) | function J(e,t,r,o){if(void 0===o&&(o=!1),w.getProperty(t,"inferenceRule...
  function f (line 1) | function f(e,t,r,o,n){var a=e.nodeFactory.create("node","mspace",[],{wid...
  function r (line 1) | function r(){this.constructor=e}
  function c (line 1) | function c(){var e=null!==a&&a.apply(this,arguments)||this;return e.left...
  function p (line 1) | function p(e,t,r,o,n,a,i){var l,u,f,s,c=e.create("node","mtr",[e.create(...
  function P (line 1) | function P(e,t){if("$"!==e.GetNext())throw new h.default("IllegalUseOfCo...
  function u (line 1) | function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/cancel.js
  function o (line 1) | function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/color.js
  function n (line 1) | function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{...
  function c (line 1) | function c(e){var t="+"+e,o=e.replace(/^.*?([a-z]*)$/,"$1");return{width...
  function l (line 1) | function l(){this.userColors=new Map}
  function i (line 1) | function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/colorV2.js
  function n (line 1) | function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/configMacros.js
  function o (line 1) | function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/enclose.js
  function o (line 1) | function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/extpfeil.js
  function o (line 1) | function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/html.js
  function r (line 1) | function r(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function u (line 1) | function u(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/mhchem.js
  function o (line 1) | function o(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{...
  function s (line 1) | function s(t,e){if("string"==typeof e)return 0!==t.indexOf(e)?null:e;var...
  function a (line 1) | function a(t){}
  function o (line 1) | function o(t){}

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/newcommand.js
  function r (line 1) | function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{...
  function a (line 1) | function a(){this.constructor=e}
  function s (line 1) | function s(){return null!==i&&i.apply(this,arguments)||this}
  function s (line 1) | function s(e,t){return e.string.substr(e.i,t.length)!==t?0:t.match(/\\[a...
  function l (line 1) | function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/noerrors.js
  function o (line 1) | function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/noundefined.js
  function r (line 1) | function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/physics.js
  function n (line 1) | function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{...
  function a (line 1) | function a(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function p (line 1) | function p(t,e){return t>=e[0]&&t<=e[1]}
  function P (line 1) | function P(t,e,a,r){var n=t.configuration.parser,i=c.NodeFactory.createT...
  function i (line 1) | function i(t,e,a,r,n){var i=new x.default(r,t.stack.env,t.configuration)...
  function A (line 1) | function A(t,e,a){var r=s(t,3),n=r[0],i=r[1],o=r[2];return e&&a?"\\left\...
  function s (line 1) | function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a ...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/require.js
  function n (line 1) | function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{...
  function f (line 1) | function f(e,t){var a,r=e.parseOptions.options.require,n=t.substr(r.pref...
  function d (line 1) | function d(e,t){var a=e.options.require,r=a.allow,n=("["===t.substr(0,1)...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/tagFormat.js
  function r (line 1) | function r(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{...
  function o (line 1) | function o(){this.constructor=t}
  function a (line 1) | function a(t,o){var n,e=s.TagsFactory.create(o.parseOptions.options.tags...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/unicode.js
  function o (line 1) | function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/input/tex/extensions/verb.js
  function r (line 1) | function r(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{...

FILE: MarkLite/Resource/Resources/MathJax/latest.js
  function n (line 1) | function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{...
  function d (line 1) | function d(t){console&&console.error&&console.error("MathJax(latest.js):...
  function f (line 1) | function f(t,e){void 0===e&&(e=null),t.parentNode.removeChild(t);var r=t...
  function p (line 1) | function p(t){var e,r;try{for(var a=l(u.keys()),n=a.next();!n.done;n=a.n...
  function h (line 1) | function h(t,e){var r=document.createElement("script");r.type="text/java...
  function m (line 1) | function m(){s?h(s.src.replace(/\/latest\.js\?/,"/"),s.id):d("Can't dete...
  function y (line 1) | function y(t){s.version&&s.version!==t&&(s.file="latest.js?"+s.file),h(s...
  function v (line 1) | function v(t){return parseInt(t.split(/\./)[0])===n&&!t.match(/-(beta|rc...
  function j (line 1) | function j(t,e,r){var a=function(){if(window.XMLHttpRequest)return new X...
  function b (line 1) | function b(){j(s.cdn,function(t){return t instanceof Array&&(t=t[0]),v(t...

FILE: MarkLite/Resource/Resources/MathJax/loader.js
  function o (line 1) | function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{...
  function c (line 1) | function c(e,t){var n,r;try{for(var o=u(Object.keys(t)),a=o.next();!a.do...
  function n (line 1) | function n(){this.constructor=e}
  function s (line 1) | function s(e,t){var n=i.call(this,e)||this;return n.package=t,n}
  function p (line 1) | function p(e,t){void 0===t&&(t=!1),this.isLoaded=!1,this.isLoading=!1,th...
  function i (line 1) | function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...

FILE: MarkLite/Resource/Resources/MathJax/mml-chtml.js
  function i (line 1) | function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function m (line 1) | function m(t,e,r){void 0===e&&(e={}),void 0===r&&(r=[]);var n=u.call(thi...
  function b (line 1) | function b(){return null!==f&&f.apply(this,arguments)||this}
  function g (line 1) | function g(){return null!==v&&v.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==O&&O.apply(this,arguments)||this}
  function C (line 1) | function C(){return null!==E&&E.apply(this,arguments)||this}
  function L (line 1) | function L(){var t=null!==T&&T.apply(this,arguments)||this;return t.text...
  function B (line 1) | function B(){var t=null!==k&&k.apply(this,arguments)||this;return t.xml=...
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(t){var e,r;void 0===t&&(t=null);var n=h.call(this)||this;n.cs...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.chtm...
  function u (line 1) | function u(t){return"object"==typeof t&&null!==t&&t.constructor===n}
  function f (line 1) | function f(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbol...
  function p (line 1) | function p(t){var e,r,n={};try{for(var i=m(f(t)),o=i.next();!o.done;o=i....
  function d (line 1) | function d(i,o,s){var e,t;void 0===s&&(s=!0);function r(t){if(s&&void 0=...
  function i (line 1) | function i(t){for(var e,r,n=[],i=1;i<arguments.length;i++)n[i-1]=argumen...
  function a (line 1) | function a(t,e){var r,n;try{for(var i=l(Object.keys(e)),o=i.next();!o.do...
  function o (line 1) | function o(t){void 0===t&&(t={w:0,h:-n.BIGDIMEN,d:-n.BIGDIMEN}),this.w=t...
  function n (line 1) | function n(t,e,r,n,i){void 0===r&&(r=!0),void 0===n&&(n={i:0,n:0,delim:"...
  function i (line 1) | function i(t,e){this.global=e,this.defaults=Object.create(e),this.inheri...
  function o (line 1) | function o(){var e,t;this.variant={},this.delimiters={},this.cssFontMap=...
  function i (line 1) | function i(){this.items=[],this.items=[]}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t,e){var r=s.call(this,t)||this;return r.package=e,r}
  function d (line 1) | function d(t,e){void 0===e&&(e=!1),this.isLoaded=!1,this.isLoading=!1,th...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==g&&g.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==o&&o.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==d&&d.apply(this,arguments)||this}
  function M (line 1) | function M(){return null!==b&&b.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.UVQ=...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function b (line 1) | function b(){return null!==o&&o.apply(this,arguments)||this}
  function g (line 1) | function g(){return null!==v&&v.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==O&&O.apply(this,arguments)||this}
  function C (line 1) | function C(){return null!==E&&E.apply(this,arguments)||this}
  function L (line 1) | function L(){return null!==T&&T.apply(this,arguments)||this}
  function I (line 1) | function I(t,e,r){var n=this,i=this.constructor;this.document=t,this.opt...
  function s (line 1) | function s(t){void 0===t&&(t={}),this.adaptor=null,this.mmlFactory=null;...
  function s (line 1) | function s(t){void 0===t&&(t={}),this.adaptor=null;var e=this.constructo...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function a (line 1) | function a(t){var e,r;void 0===t&&(t=null),this.defaultKind="unknown",th...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t,e,r){var n,i;void 0===e&&(e={}),void 0===r&&(r=[]),this.par...
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==s&&s.apply(this,arguments)||this;return t._cor...
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(){var t=null!==u&&u.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(){var t=null!==l&&l.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function y (line 1) | function y(){var t=null!==p&&p.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){void 0===t&&(t=null);return t=t||new s.MmlFactory,o.call(t...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==o&&o.apply(this,arguments)||this;return t.docu...
  function v (line 1) | function v(t){for(var e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/...
  function o (line 1) | function o(t){var e,r,n=v(this.styles[t]);0===n.length&&n.push(""),1===n...
  function s (line 1) | function s(t){var e,r,n=g.connect[t].children,i=[];try{for(var o=m(n),s=...
  function a (line 1) | function a(t){var e,r;try{for(var n=m(g.connect[t].children),i=n.next();...
  function l (line 1) | function l(t){var e,r,n=c(g.connect[t].children),i=this.styles[this.chil...
  function u (line 1) | function u(t){var e,r,n,i,o={width:"",style:"",color:""};try{for(var s=m...
  function h (line 1) | function h(t){var e,r,n=[];try{for(var i=m(g.connect[t].children),o=i.ne...
  function p (line 1) | function p(t){var e,r,n,i,o=v(this.styles[t]),s={style:"",variant:[],wei...
  function d (line 1) | function d(t){}
  function y (line 1) | function y(t){void 0===t&&(t=""),this.parse(t)}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[...
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function R (line 1) | function R(){return null!==s&&s.apply(this,arguments)||this}
  function a (line 1) | function a(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){var e=o.call(this,t.document)||this;return e.window=t,e.pa...
  function i (line 1) | function i(t){void 0===t&&(t=null),this.document=t}
  function o (line 1) | function o(t){var e=this.constructor;this.options=n.userOptions(n.defaul...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function u (line 1) | function u(t,e){void 0===e&&(e=5),this.documentClass=a,this.adaptor=t,th...
  function f (line 1) | function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function n (line 1) | function n(t,e,r,n){return void 0===r&&(r=i.TEXCLASS.BIN),void 0===n&&(n...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){this.bits=0}
  function i (line 1) | function i(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function a (line 1) | function a(t){var e,r;this.nodeHandlers=new Map;try{for(var n=c(t.getKin...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function i (line 1) | function i(t,e){this.factory=t,this.node=e}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t,e,r){var n=this,i=C(w.separateOptions(r,u.HTMLDomStrings.OP...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t,e,r,n,i){return void 0===r&&(r=!0),void 0===n&&(n={node:nul...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function o (line 1) | function o(t){void 0===t&&(t=null);var e=this.constructor;this.options=n...
  function r (line 1) | function r(t,e){if("#"===e.charAt(0))return a(e.slice(1));if(n.entities[...
  function a (line 1) | function a(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t){void 0===t&&(t={});var e=this,r=s(c.separateOptions(t,u.Fi...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function c (line 1) | function c(t){void 0===t&&(t={});var e=this.constructor;this.options=o.u...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t){void 0===t&&(t=null);var e=a.call(this,t,l.CHTMLWrapperFac...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(t,e,r){void 0===t&&(t=null),void 0===e&&(e=null),void 0===r&&...
  function i (line 1) | function i(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==o&&o.apply(this,arguments)||this;return t.jax=...
  function r (line 1) | function r(){this.constructor=t}
  function m (line 1) | function m(t,e){return t?e<y?0:y:e}
  function M (line 1) | function M(t,r,e){void 0===e&&(e=null);var n=b.call(this,t,r)||this;retu...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.noIC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==f&&f.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function m (line 1) | function m(t,e){return Math.atan2(t,e).toFixed(3).replace(/\.?0+$/,"")}
  function f (line 1) | function f(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(){return null!==o&&o.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==d&&d.apply(this,arguments)||this}
  function M (line 1) | function M(){return null!==b&&b.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==c&&c.apply(this,arguments)||this;return t.scri...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t,e,r){void 0===r&&(r=null);var n=o.call(this,t,e,r)||this;re...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function d (line 1) | function d(){return null!==f&&f.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function d (line 1) | function d(){return null!==f&&f.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==y&&y.apply(this,arguments)||this}
  function g (line 1) | function g(){return null!==v&&v.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){var t=null!==o&&o.apply(this,arguments)||this;return t.math...
  function f (line 1) | function f(t,e){var r=this;void 0===e&&(e={}),this.settings=null,this.de...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==o&&o.apply(this,arguments)||this;return t.opti...
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t){return o(e,n=t),e.prototype.addMenu=function(t){this.state...
  function d (line 1) | function d(t){var e,i;return o(r,i=t),r.prototype.addMenu=function(){var...
  function u (line 1) | function u(t){return r.visitTree(t,c.document)}
  function h (line 1) | function h(){r=new S.MathJax._.core.MmlTree.SerializedMmlVisitor.Seriali...
  function f (line 1) | function f(){var e,t;c.input&&c.output&&p();var r=c.output?c.output.name...
  function p (line 1) | function p(){S.MathJax.typeset=function(t){void 0===t&&(t=null),c.docume...
  function d (line 1) | function d(t,e,r){var n=t+"2"+e;S.MathJax[n]=function(t,e){return void 0...
  function y (line 1) | function y(t,r){var n=S.MathJax._.core.MathItem.STATE;S.MathJax[t+"2mml"...
  function m (line 1) | function m(t,e){"tex"===t&&(S.MathJax.texReset=function(t){return void 0...
  function b (line 1) | function b(){var e,t,r=[];try{for(var n=a(S.CONFIG.input),i=n.next();!i....
  function v (line 1) | function v(){var t=S.CONFIG.output;if(!t)return null;var e=c.constructor...
  function M (line 1) | function M(){var t=S.CONFIG.adaptor;if(!t||"none"===t)return null;var e=...
  function g (line 1) | function g(){var e,t,r=S.CONFIG.handler;if(!r||"none"===r||!c.adaptor)re...
  function O (line 1) | function O(t){return void 0===t&&(t=null),o.document(t||S.CONFIG.documen...
  function _t (line 1) | function _t(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==o&&o.apply(this,arguments)||this;return t.docu...
  function a (line 1) | function a(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
  function yt (line 1) | function yt(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function r (line 1) | function r(){this.constructor=t}
  function n (line 1) | function n(){return null!==r&&r.apply(this,arguments)||this}
  function tt (line 1) | function tt(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function e (line 1) | function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
  function r (line 1) | function r(){this.constructor=t}
  function Mt (line 1) | function Mt(t,e,r){this.name=t,this.getter=e,this.setter=r,this.items=[]}
  function gt (line 1) | function gt(){this.pool={}}
  function Ot (line 1) | function Ot(){this.bubble=!1}
  function xt (line 1) | function xt(t){return f+"_"+t}
  function St (line 1) | function St(t){return xt(t)}
  function Et (line 1) | function Et(t){return xt(t)}
  function _t (line 1) | function _t(){return null!==d&&d.apply(this,arguments)||this}
  function Ct (line 1) | function Ct(t,e){var r=b.call(this)||this;return r.className=m.HtmlClass...
  function Tt (line 1) | function Tt(){var t=null!==g&&g.apply(this,arguments)||this;return t.pos...
  function wt (line 1) | function wt(){var t=null!==S&&S.apply(this,arguments)||this;return t.cla...
  function Lt (line 1) | function Lt(t){this.store=[],this.active=null,this.counter=0,this.attach...
  function kt (line 1) | function kt(){var t=w.call(this)||this;return t.moving=!1,t.store_=new T...
  function It (line 1) | function It(t){var e=I.call(this)||this;return e.anchor=t,e.variablePool...
  function Bt (line 1) | function Bt(t,e,r,n){var i=R.call(this,t,e)||this;return i._content=r,i....
  function At (line 1) | function At(){return null!==H&&H.apply(this,arguments)||this}
  function Nt (line 1) | function Nt(t){var e=W.call(this)||this;return e.className=F.HtmlClasses...
  function Rt (line 1) | function Rt(t,e,r){var n=z.call(this)||this;return n.className=V.HtmlCla...
  function jt (line 1) | function jt(t,e,r,n){var i=q.call(this,t,"checkbox",e,n)||this;return i....
  function Pt (line 1) | function Pt(t,e,r,n){var i=Y.call(this,t,"radio",e,n)||this;return i.rol...
  function Ht (line 1) | function Ht(t,e,r,n){var i=tt.call(this,t,"command",e,n)||this;return i....
  function Dt (line 1) | function Dt(t,e,r){return nt.call(this,t,"label",e,r)||this}
  function Xt (line 1) | function Xt(t,e,r,n){var i=st.call(this,t,"radio",e,n)||this;return i.ro...
  function Ft (line 1) | function Ft(t){var e=lt.call(this,t,"rule")||this;return e.className=ct....
  function Wt (line 1) | function Wt(t,e,r){var n=ft.call(this,t,"submenu",e,r)||this;return n.su...
  function Jt (line 1) | function Jt(t,e){var r=yt.call(this)||this;return r.title="",r.window=nu...
  function e (line 1) | function e(t){return"."+(X.HtmlClasses[t]||t)}
  function c (line 1) | function c(t){a||(l(i,t),a=!0)}
  function l (line 1) | function l(t,e){var r=e||document,n=r.createElement("style");n.type="tex...
  function l (line 1) | function l(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/node-main.js
  function o (line 1) | function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function O (line 1) | function O(t,e,r){void 0===e&&(e={}),void 0===r&&(r=[]);var n=c.call(thi...
  function M (line 1) | function M(){return null!==f&&f.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==v&&v.apply(this,arguments)||this}
  function L (line 1) | function L(){return null!==E&&E.apply(this,arguments)||this}
  function T (line 1) | function T(){return null!==N&&N.apply(this,arguments)||this}
  function x (line 1) | function x(){var t=null!==_&&_.apply(this,arguments)||this;return t.text...
  function I (line 1) | function I(){var t=null!==C&&C.apply(this,arguments)||this;return t.xml=...
  function c (line 1) | function c(t){return"object"==typeof t&&null!==t&&t.constructor===n}
  function f (line 1) | function f(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbol...
  function h (line 1) | function h(t){var e,r,n={};try{for(var o=O(f(t)),i=o.next();!i.done;i=o....
  function d (line 1) | function d(o,i,a){var e,t;void 0===a&&(a=!0);function r(t){if(a&&void 0=...
  function o (line 1) | function o(t){for(var e,r,n=[],o=1;o<arguments.length;o++)n[o-1]=argumen...
  function s (line 1) | function s(t,e){var r,n;try{for(var o=u(Object.keys(e)),i=o.next();!i.do...
  function o (line 1) | function o(t,e){this.global=e,this.defaults=Object.create(e),this.inheri...
  function o (line 1) | function o(){this.items=[],this.items=[]}
  function o (line 1) | function o(t,e,r){var n,o;void 0===e&&(e={}),void 0===r&&(r=[]),this.kin...
  function n (line 1) | function n(t,e,r,n,o){void 0===r&&(r=!0),void 0===n&&(n={i:0,n:0,delim:"...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t,e){var r=a.call(this,t)||this;return r.package=e,r}
  function d (line 1) | function d(t,e){void 0===e&&(e=!1),this.isLoaded=!1,this.isLoading=!1,th...
  function o (line 1) | function o(t){void 0===t&&(t=null),this.document=t}
  function r (line 1) | function r(){this.constructor=t}
  function M (line 1) | function M(){return null!==i&&i.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==v&&v.apply(this,arguments)||this}
  function L (line 1) | function L(){return null!==E&&E.apply(this,arguments)||this}
  function T (line 1) | function T(){return null!==N&&N.apply(this,arguments)||this}
  function x (line 1) | function x(){return null!==_&&_.apply(this,arguments)||this}
  function S (line 1) | function S(t,e,r){var n=this,o=this.constructor;this.document=t,this.opt...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function s (line 1) | function s(t){var e,r;void 0===t&&(t=null),this.defaultKind="unknown",th...
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(t,e,r){var n,o;void 0===e&&(e={}),void 0===r&&(r=[]),this.par...
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==b&&b.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){void 0===t&&(t=null);return t=t||new a.MmlFactory,i.call(t...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==i&&i.apply(this,arguments)||this;return t.docu...
  function i (line 1) | function i(){this.root=new n.LiteElement("html",{},[this.head=new n.Lite...
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(t){void 0===t&&(t=""),this.value=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function a (line 1) | function a(){}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){var e=i.call(this,t.document)||this;return e.window=t,e.pa...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function c (line 1) | function c(t,e){void 0===e&&(e=5),this.documentClass=s,this.adaptor=t,th...
  function a (line 1) | function a(t){void 0===t&&(t={}),this.adaptor=null,this.mmlFactory=null;...
  function a (line 1) | function a(t){void 0===t&&(t={}),this.adaptor=null;var e=this.constructo...
  function f (line 1) | function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function n (line 1) | function n(t,e,r,n){return void 0===r&&(r=o.TEXCLASS.BIN),void 0===n&&(n...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t._cor...
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(){var t=null!==c&&c.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function O (line 1) | function O(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(){var t=null!==u&&u.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){var t=null!==h&&h.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){this.bits=0}
  function o (line 1) | function o(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function s (line 1) | function s(t){var e,r;this.nodeHandlers=new Map;try{for(var n=l(t.getKin...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(t,e,r){var n=this,o=T(A.separateOptions(r,c.HTMLDomStrings.OP...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t,e,r,n,o){return void 0===r&&(r=!0),void 0===n&&(n={node:nul...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function i (line 1) | function i(t){void 0===t&&(t=null);var e=this.constructor;this.options=n...
  function r (line 1) | function r(t,e){if("#"===e.charAt(0))return s(e.slice(1));if(n.entities[...
  function s (line 1) | function s(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t...
  function v (line 1) | function v(t){for(var e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/...
  function i (line 1) | function i(t){var e,r,n=v(this.styles[t]);0===n.length&&n.push(""),1===n...
  function a (line 1) | function a(t){var e,r,n=b.connect[t].children,o=[];try{for(var i=O(n),a=...
  function s (line 1) | function s(t){var e,r;try{for(var n=O(b.connect[t].children),o=n.next();...
  function u (line 1) | function u(t){var e,r,n=l(b.connect[t].children),o=this.styles[this.chil...
  function c (line 1) | function c(t){var e,r,n,o,i={width:"",style:"",color:""};try{for(var a=O...
  function p (line 1) | function p(t){var e,r,n=[];try{for(var o=O(b.connect[t].children),i=o.ne...
  function h (line 1) | function h(t){var e,r,n,o,i=v(this.styles[t]),a={style:"",variant:[],wei...
  function d (line 1) | function d(t){}
  function y (line 1) | function y(t){void 0===t&&(t=""),this.parse(t)}
  function r (line 1) | function r(){this.constructor=t}
  function m (line 1) | function m(t){void 0===t&&(t=null);var e=l.call(this)||this,r=e.construc...
  function n (line 1) | function n(){this.DOMParser=s.LiteParser,this.NodeList=a.LiteList,this.H...
  function a (line 1) | function a(t){this.nodes=[],this.nodes=o(t)}
  function i (line 1) | function i(t,e){for(var r=0,n=t.length-1;0<=n;n--){var o=t[n];"."===o?t....
  function a (line 1) | function a(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.leng...
  function r (line 1) | function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-...
  function i (line 1) | function i(){throw new Error("setTimeout has not been defined")}
  function a (line 1) | function a(){throw new Error("clearTimeout has not been defined")}
  function s (line 1) | function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&s...
  function f (line 1) | function f(){c&&l&&(c=!1,l.length?u=l.concat(u):p=-1,u.length&&h())}
  function h (line 1) | function h(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];...
  function d (line 1) | function d(t,e){this.fun=t,this.array=e}
  function y (line 1) | function y(){}
  function s (line 1) | function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
  function c (line 1) | function c(t){return r.visitTree(t,l.document)}
  function p (line 1) | function p(){r=new L.MathJax._.core.MmlTree.SerializedMmlVisitor.Seriali...
  function f (line 1) | function f(){var e,t;l.input&&l.output&&h();var r=l.output?l.output.name...
  function h (line 1) | function h(){L.MathJax.typeset=function(t){void 0===t&&(t=null),l.docume...
  function d (line 1) | function d(t,e,r){var n=t+"2"+e;L.MathJax[n]=function(t,e){return void 0...
  function y (line 1) | function y(t,r){var n=L.MathJax._.core.MathItem.STATE;L.MathJax[t+"2mml"...
  function O (line 1) | function O(t,e){"tex"===t&&(L.MathJax.texReset=function(t){return void 0...
  function M (line 1) | function M(){var e,t,r=[];try{for(var n=s(L.CONFIG.input),o=n.next();!o....
  function v (line 1) | function v(){var t=L.CONFIG.output;if(!t)return null;var e=l.constructor...
  function m (line 1) | function m(){var t=L.CONFIG.adaptor;if(!t||"none"===t)return null;var e=...
  function b (line 1) | function b(){var e,t,r=L.CONFIG.handler;if(!r||"none"===r||!l.adaptor)re...
  function E (line 1) | function E(t){return void 0===t&&(t=null),i.document(t||L.CONFIG.documen...
  function Rt (line 1) | function Rt(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function i (line 1) | function i(t){var e=this.constructor;this.options=n.userOptions(n.defaul...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==i&&i.apply(this,arguments)||this;return t.docu...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function o (line 1) | function o(t,e){this.factory=t,this.node=e}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==s&&s.apply(this,arguments)||this}
  function p (line 1) | function p(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/output/chtml.js
  function i (line 1) | function i(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(){var t=null!==l&&l.apply(this,arguments)||this;return t.chtm...
  function n (line 1) | function n(t){void 0===t&&(t={w:0,h:-o.BIGDIMEN,d:-o.BIGDIMEN}),this.w=t...
  function n (line 1) | function n(){var e,t;this.variant={},this.delimiters={},this.cssFontMap=...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(){return null!==n&&n.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==f&&f.apply(this,arguments)||this}
  function x (line 1) | function x(){return null!==v&&v.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.UVQ=...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var e,t,r=[],o=0;o<arguments.length;o++)r[o]=arguments[...
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t){void 0===t&&(t=null);var e=s.call(this,t,h.CHTMLWrapperFac...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t,e,r){void 0===t&&(t=null),void 0===e&&(e=null),void 0===r&&...
  function i (line 1) | function i(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==n&&n.apply(this,arguments)||this;return t.jax=...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){return t?e<m?0:m:e}
  function x (line 1) | function x(t,r,e){void 0===e&&(e=null);var o=v.call(this,t,r)||this;retu...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.noIC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){return Math.atan2(t,e).toFixed(3).replace(/\.?0+$/,"")}
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==n&&n.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==l&&l.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==f&&f.apply(this,arguments)||this}
  function x (line 1) | function x(){return null!==v&&v.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==l&&l.apply(this,arguments)||this;return t.scri...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t,e,r){void 0===r&&(r=null);var o=n.call(this,t,e,r)||this;re...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==n&&n.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==n&&n.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==p&&p.apply(this,arguments)||this}
  function v (line 1) | function v(){return null!==m&&m.apply(this,arguments)||this}
  function g (line 1) | function g(){return null!==b&&b.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t){var e,r;void 0===t&&(t=null);var o=u.call(this)||this;o.cs...
  function mt (line 1) | function mt(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function i (line 1) | function i(){return function(t,e){if(!(t instanceof e))throw new TypeErr...

FILE: MarkLite/Resource/Resources/MathJax/output/chtml/fonts/tex.js
  function t (line 1) | function t(c){if(i[c])return i[c].exports;var f=i[c]={i:c,l:!1,exports:{...
  function s (line 1) | function s(){this.constructor=c}
  function b (line 1) | function b(){return null!==k&&k.apply(this,arguments)||this}
  function cc (line 1) | function cc(c){if(c&&c.__esModule)return c;var f={};if(null!=c)for(var s...
  function s (line 1) | function s(){this.constructor=c}
  function i (line 1) | function i(){return null!==s&&s.apply(this,arguments)||this}

FILE: MarkLite/Resource/Resources/MathJax/sre/sre_browser.js
  function a (line 17) | function a(c){if(this instanceof a)throw new TypeError("Symbol is not a ...
  function c (line 54) | function c(){}
  function a (line 62) | function a(a,b){e?d[a]=!0:b()?(c=a,d[a]=!1):e=d[a]=!0}
  function b (line 62) | function b(a){try{return!!eval(a)}catch(h){return!1}}
  function c (line 66) | function c(){d&&(goog.global.setTimeout(d,0),d=null)}
  function b (line 80) | function b(a,b){a=b?'<script type="module" crossorigin>'+b+"\x3c/script>...
  function c (line 80) | function c(a,b){var c=d.createElement("script");c.defer=!0;c.async=!1;c....
  function b (line 83) | function b(){e.contents_=
  function c (line 84) | function c(){e.lazyFetch_&&b();if(e.contents_){f&&a.setModuleState(goog....
  function d (line 85) | function d(){var a=goog.global.document,b=goog.Dependency.registerCallba...
  function visitStree (line 1591) | function visitStree(a,b,c){if(a.childNodes.length){if(a.contentNodes.len...

FILE: MarkLite/Resource/Resources/MathJax/startup.js
  function o (line 1) | function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{...
  function u (line 1) | function u(e,t){var n,r;try{for(var o=s(Object.keys(t)),a=o.next();!a.do...
  function n (line 1) | function n(){this.constructor=e}
  function c (line 1) | function c(e,t){var n=i.call(this,e)||this;return n.package=t,n}
  function p (line 1) | function p(e,t){void 0===t&&(t=!1),this.isLoaded=!1,this.isLoading=!1,th...
  function u (line 1) | function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
  function d (line 1) | function d(e){return n.visitTree(e,c.document)}
  function l (line 1) | function l(){n=new w.MathJax._.core.MmlTree.SerializedMmlVisitor.Seriali...
  function f (line 1) | function f(){var t,e;c.input&&c.output&&h();var n=c.output?c.output.name...
  function h (line 1) | function h(){w.MathJax.typeset=function(e){void 0===e&&(e=null),c.docume...
  function p (line 1) | function p(e,t,n){var r=e+"2"+t;w.MathJax[r]=function(e,t){return void 0...
  function x (line 1) | function x(e,n){var r=w.MathJax._.core.MathItem.STATE;w.MathJax[e+"2mml"...
  function y (line 1) | function y(e,t){"tex"===e&&(w.MathJax.texReset=function(e){return void 0...
  function m (line 1) | function m(){var t,e,n=[];try{for(var r=u(w.CONFIG.input),o=r.next();!o....
  function v (line 1) | function v(){var e=w.CONFIG.output;if(!e)return null;var t=c.constructor...
  function b (line 1) | function b(){var e=w.CONFIG.adaptor;if(!e||"none"===e)return null;var t=...
  function g (line 1) | function g(){var t,e,n=w.CONFIG.handler;if(!n||"none"===n||!c.adaptor)re...
  function M (line 1) | function M(e){return void 0===e&&(e=null),a.document(e||w.CONFIG.documen...
  function o (line 1) | function o(){this.items=[],this.items=[]}

FILE: MarkLite/Resource/Resources/MathJax/tex-chtml-full.js
  function o (line 1) | function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e,r){void 0===e&&(e={}),void 0===r&&(r=[]);var n=u.call(thi...
  function v (line 1) | function v(){return null!==f&&f.apply(this,arguments)||this}
  function x (line 1) | function x(){return null!==g&&g.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==M&&M.apply(this,arguments)||this}
  function C (line 1) | function C(){return null!==E&&E.apply(this,arguments)||this}
  function A (line 1) | function A(){var t=null!==w&&w.apply(this,arguments)||this;return t.text...
  function L (line 1) | function L(){var t=null!==k&&k.apply(this,arguments)||this;return t.xml=...
  function l (line 1) | function l(t,e,r,n,o,i,a,s,c,l,u){void 0===e&&(e={}),void 0===r&&(r={}),...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t,e){this._name=t,this._parser=e,i.MapHandler.register(this)}
  function p (line 1) | function p(t,e,r){var n=l.call(this,t,e)||this;return n._regExp=r,n}
  function v (line 1) | function v(){var t=null!==f&&f.apply(this,arguments)||this;return t.map=...
  function x (line 1) | function x(t,e,r){var n,o,i=g.call(this,t,e)||this;try{for(var a=m(Objec...
  function S (line 1) | function S(){return null!==M&&M.apply(this,arguments)||this}
  function C (line 1) | function C(t,e,r){var n,o,i=E.call(this,t,null)||this;try{for(var a=m(Ob...
  function A (line 1) | function A(){return null!==w&&w.apply(this,arguments)||this}
  function L (line 1) | function L(t,e,r,n){var o=k.call(this,t,r,n)||this;return o.parser=e,o}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t){var e,r;void 0===t&&(t=null);var n=p.call(this)||this;n.cs...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){var t=null!==c&&c.apply(this,arguments)||this;return t.chtm...
  function a (line 1) | function a(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments...
  function u (line 1) | function u(t){return"object"==typeof t&&null!==t&&t.constructor===n}
  function f (line 1) | function f(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbol...
  function h (line 1) | function h(t){var e,r,n={};try{for(var o=y(f(t)),i=o.next();!i.done;i=o....
  function d (line 1) | function d(o,i,a){var e,t;void 0===a&&(a=!0);function r(t){if(a&&void 0=...
  function o (line 1) | function o(t){for(var e,r,n=[],o=1;o<arguments.length;o++)n[o-1]=argumen...
  function p (line 1) | function p(t,e){var r,n;try{for(var o=l(Object.keys(e)),i=o.next();!i.do...
  function f (line 1) | function f(t,e,r){(t.childNodes[e]=r)&&(r.parent=t)}
  function h (line 1) | function h(t,e){return t.isKind(e)}
  function v (line 1) | function v(t,e){void 0===e&&(e=!1);var r=t.match(e?p:c);return r?[r[1].r...
  function g (line 1) | function g(t,e,r){"{"!==e&&"}"!==e||(e="\\"+e);var n="{\\bigg"+r+" "+e+"...
  function b (line 1) | function b(t,e,r){e=e.replace(/^\s+/,y.entities.nbsp).replace(/\s+$/,y.e...
  function x (line 1) | function x(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z...
  function M (line 1) | function M(t,e){for(;0<e;)t=t.trim().slice(1,-1),e--;return t.trim()}
  function O (line 1) | function O(t,e){for(var r=t.length,n=0,o="",i=0,a=0,s=!0,c=!1;i<r;){var ...
  function s (line 1) | function s(t,e){var r,n;try{for(var o=l(Object.keys(e)),i=o.next();!i.do...
  function i (line 1) | function i(t,e,r){var n,o;this._string=t,this.configuration=r,this.macro...
  function a (line 1) | function a(t,e){var r,n;this._fallback=e,this._configuration=[];try{for(...
  function p (line 1) | function p(t){var e,r;this.map=new Map;try{for(var n=l(Object.keys(t.han...
  function r (line 1) | function r(t,e){if("#"===e.charAt(0))return s(e.slice(1));if(n.entities[...
  function s (line 1) | function s(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t...
  function a (line 1) | function a(t,e){var r=t.stack.env,n=r.inRoot;r.inRoot=!0;var o=new l.def...
  function n (line 1) | function n(t,e,r,n,o){void 0===r&&(r=!0),void 0===n&&(n={i:0,n:0,delim:"...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){this._nodes=t}
  function h (line 1) | function h(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function i (line 1) | function i(t){void 0===t&&(t={w:0,h:-n.BIGDIMEN,d:-n.BIGDIMEN}),this.w=t...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t,e){var r=a.call(this,t)||this;return r.package=e,r}
  function d (line 1) | function d(t,e){void 0===e&&(e=!1),this.isLoaded=!1,this.isLoading=!1,th...
  function o (line 1) | function o(t,e){this.global=e,this.defaults=Object.create(e),this.inheri...
  function o (line 1) | function o(t,e,r){this._symbol=t,this._char=e,this._attributes=r}
  function a (line 1) | function a(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._a...
  function i (line 1) | function i(){var e,t;this.variant={},this.delimiters={},this.cssFontMap=...
  function o (line 1) | function o(){this.items=[],this.items=[]}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==x&&x.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){this.counter=0,this.allCounter=0,this.configuration=null,th...
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==a&&a.apply(this,arguments)||this}
  function s (line 1) | function s(t){var e,r;void 0===t&&(t=null),this.defaultKind="unknown",th...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==h&&h.apply(this,arguments)||this}
  function a (line 1) | function a(){this.mmlFactory=null,this.factory={node:a.createNode,token:...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{}...
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){var r=s.call(this,t)||this;return r.global=e,r}
  function b (line 1) | function b(){return null!==v&&v.apply(this,arguments)||this}
  function O (line 1) | function O(){return null!==x&&x.apply(this,arguments)||this}
  function _ (line 1) | function _(){return null!==S&&S.apply(this,arguments)||this}
  function T (line 1) | function T(){return null!==C&&C.apply(this,arguments)||this}
  function I (line 1) | function I(){return null!==A&&A.apply(this,arguments)||this}
  function N (line 1) | function N(t){var e=L.call(this,t)||this;return e.setProperty("name","\\...
  function j (line 1) | function j(t){var e=B.call(this,t)||this;return e.setProperty("delim","(...
  function F (line 1) | function F(t){var e=D.call(this,t)||this;return e.setProperty("delim",")...
  function W (line 1) | function W(){return null!==X&&X.apply(this,arguments)||this}
  function J (line 1) | function J(){return null!==G&&G.apply(this,arguments)||this}
  function K (line 1) | function K(){return null!==z&&z.apply(this,arguments)||this}
  function Y (line 1) | function Y(){return null!==$&&$.apply(this,arguments)||this}
  function et (line 1) | function et(){return null!==Q&&Q.apply(this,arguments)||this}
  function ot (line 1) | function ot(){return null!==rt&&rt.apply(this,arguments)||this}
  function st (line 1) | function st(){return null!==it&&it.apply(this,arguments)||this}
  function ut (line 1) | function ut(){var t=null!==ct&&ct.apply(this,arguments)||this;return t.r...
  function ht (line 1) | function ht(){return null!==pt&&pt.apply(this,arguments)||this}
  function yt (line 1) | function yt(){var t=null!==dt&&dt.apply(this,arguments)||this;return t.t...
  function bt (line 1) | function bt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function Ot (line 1) | function Ot(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function c (line 1) | function c(t){return R.root=t,n.outputJax.getBBox(R,n).w}
  function C (line 1) | function C(t){for(var e=0;t&&!u.default.isType(t,"mtable");){if(u.defaul...
  function w (line 1) | function w(t,e){return t.childNodes["up"===e?1:0].childNodes[0].childNod...
  function T (line 1) | function T(t,e){return t.childNodes[e].childNodes[0].childNodes[0]}
  function A (line 1) | function A(t){return T(t,0)}
  function k (line 1) | function k(t,e){return t.childNodes["up"===e?0:1].childNodes[0].childNod...
  function I (line 1) | function I(t){for(;t&&!u.default.isType(t,"mtd");)t=t.parent;return t}
  function L (line 1) | function L(t){for(;t&&null==E.getProperty(t,"inference");)t=t.parent;ret...
  function P (line 1) | function P(t,e,r){void 0===r&&(r=!1);var n=0;if(t===e)return n;if(t!==e....
  function N (line 1) | function N(t,e){void 0===e&&(e=!1);var r=C(t),n=k(r,E.getProperty(r,"inf...
  function B (line 1) | function B(t,e,r,n){if(void 0===n&&(n=!1),E.getProperty(e,"inferenceRule...
  function l (line 1) | function l(t,e,r,n,o){var i=t.nodeFactory.create("node","mspace",[],{wid...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==i&&i.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==v&&v.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.UVQ=...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function v (line 1) | function v(){return null!==i&&i.apply(this,arguments)||this}
  function x (line 1) | function x(){return null!==g&&g.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==M&&M.apply(this,arguments)||this}
  function C (line 1) | function C(){return null!==E&&E.apply(this,arguments)||this}
  function A (line 1) | function A(){return null!==w&&w.apply(this,arguments)||this}
  function I (line 1) | function I(t,e,r){var n=this,o=this.constructor;this.document=t,this.opt...
  function a (line 1) | function a(t){void 0===t&&(t={}),this.adaptor=null,this.mmlFactory=null;...
  function a (line 1) | function a(t){void 0===t&&(t={}),this.adaptor=null;var e=this.constructo...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(t,e,r){var n,o;void 0===e&&(e={}),void 0===r&&(r=[]),this.par...
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==a&&a.apply(this,arguments)||this;return t._cor...
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(){var t=null!==u&&u.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(){var t=null!==l&&l.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function h (line 1) | function h(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function m (line 1) | function m(){var t=null!==h&&h.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){void 0===t&&(t=null);return t=t||new a.MmlFactory,i.call(t...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==i&&i.apply(this,arguments)||this;return t.docu...
  function g (line 1) | function g(t){for(var e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/...
  function i (line 1) | function i(t){var e,r,n=g(this.styles[t]);0===n.length&&n.push(""),1===n...
  function a (line 1) | function a(t){var e,r,n=x.connect[t].children,o=[];try{for(var i=y(n),a=...
  function s (line 1) | function s(t){var e,r;try{for(var n=y(x.connect[t].children),o=n.next();...
  function l (line 1) | function l(t){var e,r,n=c(x.connect[t].children),o=this.styles[this.chil...
  function u (line 1) | function u(t){var e,r,n,o,i={width:"",style:"",color:""};try{for(var a=y...
  function p (line 1) | function p(t){var e,r,n=[];try{for(var o=y(x.connect[t].children),i=o.ne...
  function h (line 1) | function h(t){var e,r,n,o,i=g(this.styles[t]),a={style:"",variant:[],wei...
  function d (line 1) | function d(t){}
  function m (line 1) | function m(t){void 0===t&&(t=""),this.parse(t)}
  function o (line 1) | function o(t,e,r){this._factory=t,this._env=e,this.global={},this.stack=...
  function l (line 1) | function l(t,e){return t.string.substr(t.i,e.length)!==e?0:e.match(/\\[a...
  function f (line 1) | function f(t,e){var r,n=t.parseOptions.options.require,o=e.substr(n.pref...
  function h (line 1) | function h(t,e){var r=t.options.require,n=r.allow,o=("["===e.substr(0,1)...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[...
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function B (line 1) | function B(){return null!==a&&a.apply(this,arguments)||this}
  function s (line 1) | function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){var e=i.call(this,t.document)||this;return e.window=t,e.pa...
  function o (line 1) | function o(t){void 0===t&&(t=null),this.document=t}
  function i (line 1) | function i(t){var e=this.constructor;this.options=n.userOptions(n.defaul...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==i&&i.apply(this,arguments)||this}
  function u (line 1) | function u(t,e){void 0===e&&(e=5),this.documentClass=s,this.adaptor=t,th...
  function f (line 1) | function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==i&&i.apply(this,arguments)||this}
  function n (line 1) | function n(t,e,r,n){return void 0===r&&(r=o.TEXCLASS.BIN),void 0===n&&(n...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){this.bits=0}
  function o (line 1) | function o(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function s (line 1) | function s(t){var e,r;this.nodeHandlers=new Map;try{for(var n=c(t.getKin...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function o (line 1) | function o(t,e){this.factory=t,this.node=e}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(t,e,r){var n=this,o=C(T.separateOptions(r,u.HTMLDomStrings.OP...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t,e,r,n,o){return void 0===r&&(r=!0),void 0===n&&(n={node:nul...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==i&&i.apply(this,arguments)||this}
  function i (line 1) | function i(t){void 0===t&&(t=null);var e=this.constructor;this.options=n...
  function r (line 1) | function r(){this.constructor=t}
  function x (line 1) | function x(t){void 0===t&&(t={});var e=this,r=l(u.separateOptions(t,x.OP...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){var e=i.call(this,t)||this;return e.getPatterns(),e}
  function r (line 1) | function r(t,e,r){var n,o;try{for(var i=h(t.getList("m"+e+r)),a=i.next()...
  function r (line 1) | function r(e,r){return e.getExplicitNames().filter(function(t){return t!...
  function p (line 1) | function p(t,e){void 0===e&&(e=[]),this.options={},this.parsers=[],this....
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function h (line 1) | function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.defa...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function a (line 1) | function a(t,e,r,n){var o=i.NodeFactory.createToken(t,e,r,n);return"mtex...
  function p (line 1) | function p(t){var e,r;try{for(var n=s(t.data.getList("fixBold")),o=n.nex...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){var t=null!==i&&i.apply(this,arguments)||this;return t.left...
  function h (line 1) | function h(t,e,r,n,o,i,a){var s,c,l,u,p=t.create("node","mtr",[t.create(...
  function g (line 1) | function g(t,e){if("$"!==t.GetNext())throw new m.default("IllegalUseOfCo...
  function u (line 1) | function u(t){var e="+"+t,r=t.replace(/^.*?([a-z]*)$/,"$1");return{width...
  function a (line 1) | function a(){this.userColors=new Map}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function d (line 1) | function d(t,e){return t>=e[0]&&t<=e[1]}
  function O (line 1) | function O(t,e,r,n){var o=t.configuration.parser,i=c.NodeFactory.createT...
  function i (line 1) | function i(t,e,r,n,o){var i=new g.default(n,t.stack.env,t.configuration)...
  function S (line 1) | function S(t,e,r){var n=s(t,3),o=n[0],i=n[1],a=n[2];return e&&r?"\\left\...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t){void 0===t&&(t=null);var e=s.call(this,t,l.CHTMLWrapperFac...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(t,e,r){void 0===t&&(t=null),void 0===e&&(e=null),void 0===r&&...
  function o (line 1) | function o(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==i&&i.apply(this,arguments)||this;return t.jax=...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){return t?e<m?0:m:e}
  function b (line 1) | function b(t,r,e){void 0===e&&(e=null);var n=v.call(this,t,r)||this;retu...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.noIC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==f&&f.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){return Math.atan2(t,e).toFixed(3).replace(/\.?0+$/,"")}
  function f (line 1) | function f(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(){return null!==i&&i.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function b (line 1) | function b(){return null!==v&&v.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==c&&c.apply(this,arguments)||this;return t.scri...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t,e,r){void 0===r&&(r=null);var n=i.call(this,t,e,r)||this;re...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function d (line 1) | function d(){return null!==f&&f.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function d (line 1) | function d(){return null!==f&&f.apply(this,arguments)||this}
  function v (line 1) | function v(){return null!==m&&m.apply(this,arguments)||this}
  function x (line 1) | function x(){return null!==g&&g.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){var t=null!==i&&i.apply(this,arguments)||this;return t.math...
  function f (line 1) | function f(t,e){var r=this;void 0===e&&(e={}),this.settings=null,this.de...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==i&&i.apply(this,arguments)||this;return t.opti...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(){return null!==i&&i.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(t){return i(e,n=t),e.prototype.addMenu=function(t){this.state...
  function d (line 1) | function d(t){var e,o;return i(r,o=t),r.prototype.addMenu=function(){var...
  function u (line 1) | function u(t){return r.visitTree(t,c.document)}
  function p (line 1) | function p(){r=new S.MathJax._.core.MmlTree.SerializedMmlVisitor.Seriali...
  function f (line 1) | function f(){var e,t;c.input&&c.output&&h();var r=c.output?c.output.name...
  function h (line 1) | function h(){S.MathJax.typeset=function(t){void 0===t&&(t=null),c.docume...
  function d (line 1) | function d(t,e,r){var n=t+"2"+e;S.MathJax[n]=function(t,e){return void 0...
  function m (line 1) | function m(t,r){var n=S.MathJax._.core.MathItem.STATE;S.MathJax[t+"2mml"...
  function y (line 1) | function y(t,e){"tex"===t&&(S.MathJax.texReset=function(t){return void 0...
  function v (line 1) | function v(){var e,t,r=[];try{for(var n=s(S.CONFIG.input),o=n.next();!o....
  function g (line 1) | function g(){var t=S.CONFIG.output;if(!t)return null;var e=c.constructor...
  function b (line 1) | function b(){var t=S.CONFIG.adaptor;if(!t||"none"===t)return null;var e=...
  function x (line 1) | function x(){var e,t,r=S.CONFIG.handler;if(!r||"none"===r||!c.adaptor)re...
  function M (line 1) | function M(t){return void 0===t&&(t=null),i.document(t||S.CONFIG.documen...
  function _t (line 1) | function _t(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==i&&i.apply(this,arguments)||this;return t.docu...
  function ft (line 1) | function ft(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function n (line 1) | function n(t){for(var e=[],r=0,n=t.length;r<n;r++)e[r]=c.default.Em(t[r]...
  function u (line 1) | function u(t,e){if("string"==typeof e)return 0!==t.indexOf(e)?null:e;var...
  function n (line 1) | function n(t){}
  function o (line 1) | function o(t){}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==i&&i.apply(this,arguments)||this}
  function A (line 1) | function A(t,e,r,n){var o,i,a,s;if(g.Package.packages.has(t.options.requ...
  function mt (line 1) | function mt(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function r (line 1) | function r(){this.constructor=t}
  function n (line 1) | function n(){return null!==r&&r.apply(this,arguments)||this}
  function tt (line 1) | function tt(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r...
  function e (line 1) | function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
  function r (line 1) | function r(){this.constructor=t}
  function bt (line 1) | function bt(t,e,r){this.name=t,this.getter=e,this.setter=r,this.items=[]}
  function xt (line 1) | function xt(){this.pool={}}
  function Mt (line 1) | function Mt(){this.bubble=!1}
  function Ot (line 1) | function Ot(t){return f+"_"+t}
  function St (line 1) | function St(t){return Ot(t)}
  function Et (line 1) | function Et(t){return Ot(t)}
  function _t (line 1) | function _t(){return null!==d&&d.apply(this,arguments)||this}
  function Ct (line 1) | function Ct(t,e){var r=v.call(this)||this;return r.className=y.HtmlClass...
  function wt (line 1) | function wt(){var t=null!==x&&x.apply(this,arguments)||this;return t.pos...
  function Tt (line 1) | function Tt(){var t=null!==S&&S.apply(this,arguments)||this;return t.cla...
  function At (line 1) | function At(t){this.store=[],this.active=null,this.counter=0,this.attach...
  function kt (line 1) | function kt(){var t=T.call(this)||this;return t.moving=!1,t.store_=new w...
  function It (line 1) | function It(t){var e=I.call(this)||this;return e.anchor=t,e.variablePool...
  function Lt (line 1) | function Lt(t,e,r,n){var o=B.call(this,t,e)||this;return o._content=r,o....
  function Pt (line 1) | function Pt(){return null!==D&&D.apply(this,arguments)||this}
  function Nt (line 1) | function Nt(t){var e=q.call(this)||this;return e.className=X.HtmlClasses...
  function Bt (line 1) | function Bt(t,e,r){var n=V.call(this)||this;return n.className=G.HtmlCla...
  function Rt (line 1) | function Rt(t,e,r,n){var o=U.call(this,t,"checkbox",e,n)||this;return o....
  function jt (line 1) | function jt(t,e,r,n){var o=Z.call(this,t,"radio",e,n)||this;return o.rol...
  function Dt (line 1) | function Dt(t,e,r,n){var o=tt.call(this,t,"command",e,n)||this;return o....
  function Ht (line 1) | function Ht(t,e,r){return nt.call(this,t,"label",e,r)||this}
  function Ft (line 1) | function Ft(t,e,r,n){var o=at.call(this,t,"radio",e,n)||this;return o.ro...
  function Xt (line 1) | function Xt(t){var e=lt.call(this,t,"rule")||this;return e.className=ct....
  function qt (line 1) | function qt(t,e,r){var n=ft.call(this,t,"submenu",e,r)||this;return n.su...
  function Wt (line 1) | function Wt(t,e){var r=mt.call(this)||this;return r.title="",r.window=nu...
  function e (line 1) | function e(t){return"."+(F.HtmlClasses[t]||t)}
  function c (line 1) | function c(t){s||(l(o,t),s=!0)}
  function l (line 1) | function l(t,e){var r=e||document,n=r.createElement("style");n.type="tex...
  function l (line 1) | function l(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...

FILE: MarkLite/Resource/Resources/MathJax/tex-chtml.js
  function i (line 1) | function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e,r){void 0===e&&(e={}),void 0===r&&(r=[]);var n=u.call(thi...
  function v (line 1) | function v(){return null!==f&&f.apply(this,arguments)||this}
  function M (line 1) | function M(){return null!==b&&b.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==O&&O.apply(this,arguments)||this}
  function _ (line 1) | function _(){return null!==E&&E.apply(this,arguments)||this}
  function A (line 1) | function A(){var t=null!==T&&T.apply(this,arguments)||this;return t.text...
  function L (line 1) | function L(){var t=null!==k&&k.apply(this,arguments)||this;return t.xml=...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t){var e,r;void 0===t&&(t=null);var n=h.call(this)||this;n.cs...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.chtm...
  function u (line 1) | function u(t){return"object"==typeof t&&null!==t&&t.constructor===n}
  function f (line 1) | function f(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbol...
  function p (line 1) | function p(t){var e,r,n={};try{for(var i=y(f(t)),o=i.next();!o.done;o=i....
  function d (line 1) | function d(i,o,a){var e,t;void 0===a&&(a=!0);function r(t){if(a&&void 0=...
  function i (line 1) | function i(t){for(var e,r,n=[],i=1;i<arguments.length;i++)n[i-1]=argumen...
  function a (line 1) | function a(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments...
  function h (line 1) | function h(t,e){var r,n;try{for(var i=l(Object.keys(e)),o=i.next();!o.do...
  function f (line 1) | function f(t,e,r){(t.childNodes[e]=r)&&(r.parent=t)}
  function p (line 1) | function p(t,e){return t.isKind(e)}
  function s (line 1) | function s(t,e){var r,n;try{for(var i=l(Object.keys(e)),o=i.next();!o.do...
  function v (line 1) | function v(t,e){void 0===e&&(e=!1);var r=t.match(e?h:c);return r?[r[1].r...
  function b (line 1) | function b(t,e,r){"{"!==e&&"}"!==e||(e="\\"+e);var n="{\\bigg"+r+" "+e+"...
  function g (line 1) | function g(t,e,r){e=e.replace(/^\s+/,y.entities.nbsp).replace(/\s+$/,y.e...
  function M (line 1) | function M(t,e,r){if(r.match(/^[a-z]/i)&&e.match(/(^|[^\\])(\\\\)*\\[a-z...
  function O (line 1) | function O(t,e){for(;0<e;)t=t.trim().slice(1,-1),e--;return t.trim()}
  function x (line 1) | function x(t,e){for(var r=t.length,n=0,i="",o=0,a=0,s=!0,c=!1;o<r;){var ...
  function a (line 1) | function a(t,e){var r,n;this._fallback=e,this._configuration=[];try{for(...
  function h (line 1) | function h(t){var e,r;this.map=new Map;try{for(var n=l(Object.keys(t.han...
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(t,e){this._name=t,this._parser=e,o.MapHandler.register(this)}
  function h (line 1) | function h(t,e,r){var n=l.call(this,t,e)||this;return n._regExp=r,n}
  function v (line 1) | function v(){var t=null!==f&&f.apply(this,arguments)||this;return t.map=...
  function M (line 1) | function M(t,e,r){var n,i,o=b.call(this,t,e)||this;try{for(var a=m(Objec...
  function S (line 1) | function S(){return null!==O&&O.apply(this,arguments)||this}
  function _ (line 1) | function _(t,e,r){var n,i,o=E.call(this,t,null)||this;try{for(var a=m(Ob...
  function A (line 1) | function A(){return null!==T&&T.apply(this,arguments)||this}
  function L (line 1) | function L(t,e,r,n){var i=k.call(this,t,r,n)||this;return i.parser=e,i}
  function l (line 1) | function l(t,e,r,n,i,o,a,s,c,l,u){void 0===e&&(e={}),void 0===r&&(r={}),...
  function n (line 1) | function n(t,e,r,n,i){void 0===r&&(r=!0),void 0===n&&(n={i:0,n:0,delim:"...
  function r (line 1) | function r(t,e){if("#"===e.charAt(0))return s(e.slice(1));if(n.entities[...
  function s (line 1) | function s(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t...
  function o (line 1) | function o(t){void 0===t&&(t={w:0,h:-n.BIGDIMEN,d:-n.BIGDIMEN}),this.w=t...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t,e){var r=a.call(this,t)||this;return r.package=e,r}
  function d (line 1) | function d(t,e){void 0===e&&(e=!1),this.isLoaded=!1,this.isLoading=!1,th...
  function i (line 1) | function i(t,e){this.global=e,this.defaults=Object.create(e),this.inheri...
  function o (line 1) | function o(t,e,r){var n,i;this._string=t,this.configuration=r,this.macro...
  function i (line 1) | function i(t,e,r){this._symbol=t,this._char=e,this._attributes=r}
  function a (line 1) | function a(t,e,r){void 0===r&&(r=[]),this._symbol=t,this._func=e,this._a...
  function o (line 1) | function o(){var e,t;this.variant={},this.delimiters={},this.cssFontMap=...
  function i (line 1) | function i(){this.items=[],this.items=[]}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==M&&M.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){this.counter=0,this.allCounter=0,this.configuration=null,th...
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function g (line 1) | function g(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==a&&a.apply(this,arguments)||this}
  function s (line 1) | function s(t){var e,r;void 0===t&&(t=null),this.defaultKind="unknown",th...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(t){this._nodes=t}
  function p (line 1) | function p(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){var r=s.call(this,t)||this;return r.global=e,r}
  function g (line 1) | function g(){return null!==v&&v.apply(this,arguments)||this}
  function x (line 1) | function x(){return null!==M&&M.apply(this,arguments)||this}
  function C (line 1) | function C(){return null!==S&&S.apply(this,arguments)||this}
  function w (line 1) | function w(){return null!==_&&_.apply(this,arguments)||this}
  function I (line 1) | function I(){return null!==A&&A.apply(this,arguments)||this}
  function B (line 1) | function B(t){var e=L.call(this,t)||this;return e.setProperty("name","\\...
  function j (line 1) | function j(t){var e=P.call(this,t)||this;return e.setProperty("delim","(...
  function X (line 1) | function X(t){var e=H.call(this,t)||this;return e.setProperty("delim",")...
  function J (line 1) | function J(){return null!==F&&F.apply(this,arguments)||this}
  function U (line 1) | function U(){return null!==q&&q.apply(this,arguments)||this}
  function K (line 1) | function K(){return null!==z&&z.apply(this,arguments)||this}
  function $ (line 1) | function $(){return null!==Z&&Z.apply(this,arguments)||this}
  function et (line 1) | function et(){return null!==Q&&Q.apply(this,arguments)||this}
  function it (line 1) | function it(){return null!==rt&&rt.apply(this,arguments)||this}
  function st (line 1) | function st(){return null!==ot&&ot.apply(this,arguments)||this}
  function ut (line 1) | function ut(){var t=null!==ct&&ct.apply(this,arguments)||this;return t.r...
  function pt (line 1) | function pt(){return null!==ht&&ht.apply(this,arguments)||this}
  function yt (line 1) | function yt(){var t=null!==dt&&dt.apply(this,arguments)||this;return t.t...
  function gt (line 1) | function gt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function xt (line 1) | function xt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[...
  function a (line 1) | function a(t,e){var r=t.stack.env,n=r.inRoot;r.inRoot=!0;var i=new l.def...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(){return null!==o&&o.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function g (line 1) | function g(){return null!==v&&v.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.UVQ=...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function v (line 1) | function v(){return null!==o&&o.apply(this,arguments)||this}
  function M (line 1) | function M(){return null!==b&&b.apply(this,arguments)||this}
  function S (line 1) | function S(){return null!==O&&O.apply(this,arguments)||this}
  function _ (line 1) | function _(){return null!==E&&E.apply(this,arguments)||this}
  function A (line 1) | function A(){return null!==T&&T.apply(this,arguments)||this}
  function I (line 1) | function I(t,e,r){var n=this,i=this.constructor;this.document=t,this.opt...
  function a (line 1) | function a(t){void 0===t&&(t={}),this.adaptor=null,this.mmlFactory=null;...
  function a (line 1) | function a(t){void 0===t&&(t={}),this.adaptor=null;var e=this.constructo...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function a (line 1) | function a(t,e,r){var n,i;void 0===e&&(e={}),void 0===r&&(r=[]),this.par...
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==a&&a.apply(this,arguments)||this;return t._cor...
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(){var t=null!==u&&u.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function s (line 1) | function s(){var t=null!==l&&l.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function p (line 1) | function p(){return null!==h&&h.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function f (line 1) | function f(){return null!==u&&u.apply(this,arguments)||this}
  function m (line 1) | function m(){var t=null!==p&&p.apply(this,arguments)||this;return t.prop...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){void 0===t&&(t=null);return t=t||new a.MmlFactory,o.call(t...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==o&&o.apply(this,arguments)||this;return t.docu...
  function b (line 1) | function b(t){for(var e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/...
  function o (line 1) | function o(t){var e,r,n=b(this.styles[t]);0===n.length&&n.push(""),1===n...
  function a (line 1) | function a(t){var e,r,n=M.connect[t].children,i=[];try{for(var o=y(n),a=...
  function s (line 1) | function s(t){var e,r;try{for(var n=y(M.connect[t].children),i=n.next();...
  function l (line 1) | function l(t){var e,r,n=c(M.connect[t].children),i=this.styles[this.chil...
  function u (line 1) | function u(t){var e,r,n,i,o={width:"",style:"",color:""};try{for(var a=y...
  function h (line 1) | function h(t){var e,r,n=[];try{for(var i=y(M.connect[t].children),o=i.ne...
  function p (line 1) | function p(t){var e,r,n,i,o=b(this.styles[t]),a={style:"",variant:[],wei...
  function d (line 1) | function d(t){}
  function m (line 1) | function m(t){void 0===t&&(t=""),this.parse(t)}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var e,t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[...
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function P (line 1) | function P(){return null!==a&&a.apply(this,arguments)||this}
  function s (line 1) | function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){var e=o.call(this,t.document)||this;return e.window=t,e.pa...
  function i (line 1) | function i(t){void 0===t&&(t=null),this.document=t}
  function o (line 1) | function o(t){var e=this.constructor;this.options=n.userOptions(n.defaul...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function u (line 1) | function u(t,e){void 0===e&&(e=5),this.documentClass=s,this.adaptor=t,th...
  function f (line 1) | function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function n (line 1) | function n(t,e,r,n){return void 0===r&&(r=i.TEXCLASS.BIN),void 0===n&&(n...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){var t=null!==a&&a.apply(this,arguments)||this;return t.texC...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){this.bits=0}
  function i (line 1) | function i(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function s (line 1) | function s(t){var e,r;this.nodeHandlers=new Map;try{for(var n=c(t.getKin...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function i (line 1) | function i(t,e){this.factory=t,this.node=e}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==s&&s.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t,e,r){var n=this,i=_(w.separateOptions(r,u.HTMLDomStrings.OP...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(t,e,r,n,i){return void 0===r&&(r=!0),void 0===n&&(n={node:nul...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==o&&o.apply(this,arguments)||this}
  function o (line 1) | function o(t){void 0===t&&(t=null);var e=this.constructor;this.options=n...
  function r (line 1) | function r(){this.constructor=t}
  function M (line 1) | function M(t){void 0===t&&(t={});var e=this,r=l(u.separateOptions(t,M.OP...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(t){var e=o.call(this,t)||this;return e.getPatterns(),e}
  function r (line 1) | function r(t,e,r){var n,i;try{for(var o=p(t.getList("m"+e+r)),a=o.next()...
  function r (line 1) | function r(e,r){return e.getExplicitNames().filter(function(t){return t!...
  function i (line 1) | function i(t,e,r){this._factory=t,this._env=e,this.global={},this.stack=...
  function h (line 1) | function h(t,e){void 0===e&&(e=[]),this.options={},this.parsers=[],this....
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==a&&a.apply(this,arguments)||this}
  function p (line 1) | function p(){var t=null!==h&&h.apply(this,arguments)||this;return t.defa...
  function a (line 1) | function a(){this.mmlFactory=null,this.factory={node:a.createNode,token:...
  function r (line 1) | function r(){this.constructor=t}
  function p (line 1) | function p(t,e){var r=t.stack.env.font?{mathvariant:t.stack.env.font}:{}...
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r...
  function f (line 1) | function f(t,e){var r,n=t.parseOptions.options.require,i=e.substr(n.pref...
  function p (line 1) | function p(t,e){var r=t.options.require,n=r.allow,i=("["===e.substr(0,1)...
  function l (line 1) | function l(t,e){return t.string.substr(t.i,e.length)!==e?0:e.match(/\\[a...
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t){void 0===t&&(t=null);var e=s.call(this,t,l.CHTMLWrapperFac...
  function r (line 1) | function r(){this.constructor=t}
  function d (line 1) | function d(t,e,r){void 0===t&&(t=null),void 0===e&&(e=null),void 0===r&&...
  function i (line 1) | function i(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)}
  function r (line 1) | function r(){this.constructor=t}
  function l (line 1) | function l(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){var t=null!==o&&o.apply(this,arguments)||this;return t.jax=...
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){return t?e<m?0:m:e}
  function g (line 1) | function g(t,r,e){void 0===e&&(e=null);var n=v.call(this,t,r)||this;retu...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==r&&r.apply(this,arguments)||this;return t.noIC...
  function r (line 1) | function r(){this.constructor=t}
  function c (line 1) | function c(){return null!==f&&f.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){return null!==n&&n.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function y (line 1) | function y(t,e){return Math.atan2(t,e).toFixed(3).replace(/\.?0+$/,"")}
  function f (line 1) | function f(){return null!==l&&l.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(){return null!==o&&o.apply(this,arguments)||this}
  function m (line 1) | function m(){return null!==p&&p.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==a&&a.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function r (line 1) | function r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(){return null!==c&&c.apply(this,arguments)||this}
  function y (line 1) | function y(){return null!==d&&d.apply(this,arguments)||this}
  function g (line 1) | function g(){return null!==v&&v.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){var t=null!==c&&c.apply(this,arguments)||this;return t.scri...
  function r (line 1) | function r(){this.constructor=t}
  function f (line 1) | function f(t,e,r){void 0===r&&(r=null);var n=o.call(this,t,e,r)||this;re...
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function d (line 1) | function d(){return null!==f&&f.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function u (line 1) | function u(){return null!==o&&o.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];v...
  function r (line 1) | function r(){this.constructor=t}
  function h (line 1) | function h(){return null!==o&&o.apply(this,arguments)||this}
  function d (line 1) | function d(){return null!==f&&f.apply(this,arguments)||this}
  function v (line 1) | function v(){return null!==m&&m.apply(this,arguments)||this}
  function M (line 1) | function M(){return null!==b&&b.apply(this,arguments)||this}
  function r (line 1) | function r(){this.constructor=t}
  function e (line 1) | function e(){return null!==r&&r.ap
Copy disabled (too large) Download .json
Condensed preview — 424 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (10,806K chars).
[
  {
    "path": ".gitattributes",
    "chars": 27,
    "preview": "*.c linguist-language=Swift"
  },
  {
    "path": ".gitignore",
    "chars": 719,
    "preview": "# Xcode\n#\n# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore\n\n"
  },
  {
    "path": "LICENSE",
    "chars": 32422,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "MarkLite/AppDelegate.swift",
    "chars": 6960,
    "preview": "//\n//  AppDelegate.swift\n//  Markdown\n//\n//  Created by zhubch on 2017/6/20.\n//  Copyright © 2017年 zhubch. All rights re"
  },
  {
    "path": "MarkLite/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "chars": 3817,
    "preview": "{\n    \"images\": [\n        {\n            \"size\": \"20x20\",\n            \"idiom\": \"iphone\",\n            \"filename\": \"icon-20"
  },
  {
    "path": "MarkLite/Assets.xcassets/Contents.json",
    "chars": 62,
    "preview": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "MarkLite/Assets.xcassets/PurchaseIntroHeader.imageset/Contents.json",
    "chars": 319,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_bold.imageset/Contents.json",
    "chars": 308,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_code.imageset/Contents.json",
    "chars": 308,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_deleteLine.imageset/Contents.json",
    "chars": 314,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_header.imageset/Contents.json",
    "chars": 310,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_image.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_italic.imageset/Contents.json",
    "chars": 310,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_keyboard.imageset/Contents.json",
    "chars": 312,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_link.imageset/Contents.json",
    "chars": 308,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_olist.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_quote.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_tab.imageset/Contents.json",
    "chars": 303,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_todolist.imageset/Contents.json",
    "chars": 312,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/bar_ulist.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/empty_edit.imageset/Contents.json",
    "chars": 310,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/empty_file.imageset/Contents.json",
    "chars": 312,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/export.imageset/Contents.json",
    "chars": 306,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/fullscreen.imageset/Contents.json",
    "chars": 310,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/highlight.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_archive.imageset/Contents.json",
    "chars": 312,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_box.imageset/Contents.json",
    "chars": 314,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_cloud.imageset/Contents.json",
    "chars": 310,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_expand.imageset/Contents.json",
    "chars": 311,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_folder.imageset/Contents.json",
    "chars": 311,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_forward.imageset/Contents.json",
    "chars": 312,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_image.imageset/Contents.json",
    "chars": 310,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_local.imageset/Contents.json",
    "chars": 310,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_location.imageset/Contents.json",
    "chars": 313,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_lock.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_search.imageset/Contents.json",
    "chars": 311,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_sort.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/icon_text.imageset/Contents.json",
    "chars": 309,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/logo.imageset/Contents.json",
    "chars": 307,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/nav_back.imageset/Contents.json",
    "chars": 305,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/nav_edit.imageset/Contents.json",
    "chars": 305,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/nav_files.imageset/Contents.json",
    "chars": 306,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/nav_list.imageset/Contents.json",
    "chars": 308,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/nav_redo.imageset/Contents.json",
    "chars": 301,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/nav_settings.imageset/Contents.json",
    "chars": 305,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/nav_undo.imageset/Contents.json",
    "chars": 301,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/preview.imageset/Contents.json",
    "chars": 307,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Assets.xcassets/style.imageset/Contents.json",
    "chars": 306,
    "preview": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n     "
  },
  {
    "path": "MarkLite/Base.lproj/LaunchScreen.storyboard",
    "chars": 4383,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3"
  },
  {
    "path": "MarkLite/Base.lproj/Localizable.strings",
    "chars": 7079,
    "preview": "/*\n Localizable.strings\n Markdown\n \n Created by zhubch on 2017/8/21.\n Copyright © 2017年 zhubch. All rights reserved.\n */"
  },
  {
    "path": "MarkLite/Core/HighlightManager.swift",
    "chars": 6582,
    "preview": "//\n//  Syntax.swift\n//  Markdown\n//\n//  Created by zhubch on 2017/7/1.\n//  Copyright © 2017年 zhubch. All rights reserved"
  },
  {
    "path": "MarkLite/Core/MarkLite-Bridging-Header.h",
    "chars": 465,
    "preview": "//\n//  Markdown-Bridging-Header.h\n//  Markdown\n//\n//  Created by zhubch on 2017/7/3.\n//  Copyright © 2017年 zhubch. All r"
  },
  {
    "path": "MarkLite/Core/MarkdownRender.h",
    "chars": 524,
    "preview": "//\n//  MarkdownRender.h\n//  Markdown\n//\n//  Created by 朱炳程 on 2019/9/6.\n//  Copyright © 2019 zhubch. All rights reserved"
  },
  {
    "path": "MarkLite/Core/MarkdownRender.m",
    "chars": 7154,
    "preview": "//\n//  MarkdownRender.m\n//  Markdown\n//\n//  Created by 朱炳程 on 2019/9/6.\n//  Copyright © 2019 zhubch. All rights reserved"
  },
  {
    "path": "MarkLite/Core/NSData+MD5.h",
    "chars": 254,
    "preview": "//\n//  NSData+MD5.h\n//  Markdown\n//\n//  Created by 朱炳程 on 2020/5/24.\n//  Copyright © 2020 zhubch. All rights reserved.\n/"
  },
  {
    "path": "MarkLite/Core/NSData+MD5.m",
    "chars": 720,
    "preview": "//\n//  NSData+MD5.m\n//  Markdown\n//\n//  Created by 朱炳程 on 2020/5/24.\n//  Copyright © 2020 zhubch. All rights reserved.\n/"
  },
  {
    "path": "MarkLite/Core/PDFRender.swift",
    "chars": 2195,
    "preview": "//\n//  PDFRender.swift\n//  Markdown\n//\n//  Created by zhubch on 2017/7/31.\n//  Copyright © 2017年 zhubch. All rights rese"
  },
  {
    "path": "MarkLite/Core/hoedown/autolink.c",
    "chars": 5530,
    "preview": "#include \"autolink.h\"\n\n#include <string.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <ctype.h>\n\n#ifndef _MSC_VER\n#"
  },
  {
    "path": "MarkLite/Core/hoedown/autolink.h",
    "chars": 1189,
    "preview": "/* autolink.h - versatile autolinker */\n\n#ifndef HOEDOWN_AUTOLINK_H\n#define HOEDOWN_AUTOLINK_H\n\n#include \"buffer.h\"\n\n#if"
  },
  {
    "path": "MarkLite/Core/hoedown/buffer.c",
    "chars": 5639,
    "preview": "#include \"buffer.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <assert.h>\n\nvoid *\nhoedown_mall"
  },
  {
    "path": "MarkLite/Core/hoedown/buffer.h",
    "chars": 4535,
    "preview": "/* buffer.h - simple, fast buffers */\n\n#ifndef HOEDOWN_BUFFER_H\n#define HOEDOWN_BUFFER_H\n\n#include <stdio.h>\n#include <s"
  },
  {
    "path": "MarkLite/Core/hoedown/document.c",
    "chars": 72389,
    "preview": "#include \"document.h\"\n\n#include <assert.h>\n#include <string.h>\n#include <ctype.h>\n#include <stdio.h>\n\n#include \"stack.h\""
  },
  {
    "path": "MarkLite/Core/hoedown/document.h",
    "chars": 7547,
    "preview": "/* document.h - generic markdown parser */\n\n#ifndef HOEDOWN_DOCUMENT_H\n#define HOEDOWN_DOCUMENT_H\n\n#include \"buffer.h\"\n#"
  },
  {
    "path": "MarkLite/Core/hoedown/escape.c",
    "chars": 5091,
    "preview": "#include \"escape.h\"\n\n#include <assert.h>\n#include <stdio.h>\n#include <string.h>\n\n\n#define likely(x)       __builtin_expe"
  },
  {
    "path": "MarkLite/Core/hoedown/escape.h",
    "chars": 532,
    "preview": "/* escape.h - escape utilities */\n\n#ifndef HOEDOWN_ESCAPE_H\n#define HOEDOWN_ESCAPE_H\n\n#include \"buffer.h\"\n\n#ifdef __cplu"
  },
  {
    "path": "MarkLite/Core/hoedown/hoedown_html_patch.c",
    "chars": 3861,
    "preview": "//\n//  hoedown_html_patch.c\n//  MacDown\n//\n//  Created by Tzu-ping Chung  on 14/06/2014.\n//  Copyright (c) 2014 Tzu-ping"
  },
  {
    "path": "MarkLite/Core/hoedown/hoedown_html_patch.h",
    "chars": 645,
    "preview": "//\n//  hoedown_html_patch.h\n//  MacDown\n//\n//  Created by Tzu-ping Chung  on 14/06/2014.\n//  Copyright (c) 2014 Tzu-ping"
  },
  {
    "path": "MarkLite/Core/hoedown/html.c",
    "chars": 19455,
    "preview": "#include \"html.h\"\n\n#include <string.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <ctype.h>\n\n#include \"escape.h\"\n\n#"
  },
  {
    "path": "MarkLite/Core/hoedown/html.h",
    "chars": 2003,
    "preview": "/* html.h - HTML renderer and utilities */\n\n#ifndef HOEDOWN_HTML_H\n#define HOEDOWN_HTML_H\n\n#include \"document.h\"\n#includ"
  },
  {
    "path": "MarkLite/Core/hoedown/html_blocks.c",
    "chars": 8515,
    "preview": "/* ANSI-C code produced by gperf version 3.0.3 */\n/* Command-line: gperf -L ANSI-C -N hoedown_find_block_tag -c -C -E -S"
  },
  {
    "path": "MarkLite/Core/hoedown/html_smartypants.c",
    "chars": 12602,
    "preview": "#include \"html.h\"\n\n#include <string.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <ctype.h>\n\n#ifdef _MSC_VER\n#defin"
  },
  {
    "path": "MarkLite/Core/hoedown/stack.c",
    "chars": 1136,
    "preview": "#include \"stack.h\"\n\n#include \"buffer.h\"\n\n#include <stdlib.h>\n#include <string.h>\n#include <assert.h>\n\nvoid\nhoedown_stack"
  },
  {
    "path": "MarkLite/Core/hoedown/stack.h",
    "chars": 1113,
    "preview": "/* stack.h - simple stacking */\n\n#ifndef HOEDOWN_STACK_H\n#define HOEDOWN_STACK_H\n\n#include <stddef.h>\n\n#ifdef __cplusplu"
  },
  {
    "path": "MarkLite/Core/hoedown/version.c",
    "chars": 191,
    "preview": "#include \"version.h\"\n\nvoid\nhoedown_version(int *major, int *minor, int *revision)\n{\n\t*major = HOEDOWN_VERSION_MAJOR;\n\t*m"
  },
  {
    "path": "MarkLite/Core/hoedown/version.h",
    "chars": 547,
    "preview": "/* version.h - holds Hoedown's version */\n\n#ifndef HOEDOWN_VERSION_H\n#define HOEDOWN_VERSION_H\n\n#ifdef __cplusplus\nexter"
  },
  {
    "path": "MarkLite/Info.plist",
    "chars": 5791,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
  },
  {
    "path": "MarkLite/Model/Document.swift",
    "chars": 528,
    "preview": "//\n//  Document.swift\n//  Markdown\n//\n//  Created by 朱炳程 on 2019/10/4.\n//  Copyright © 2019 zhubch. All rights reserved."
  },
  {
    "path": "MarkLite/Model/ExportActivity.swift",
    "chars": 1153,
    "preview": "//\n//  ExportActivity.swift\n//  Markdown\n//\n//  Created by 朱炳程 on 2019/10/31.\n//  Copyright © 2019 zhubch. All rights re"
  },
  {
    "path": "MarkLite/Model/File.swift",
    "chars": 14220,
    "preview": "//\n//  File.swift\n//  Markdown\n//\n//  Created by zhubch on 2017/6/20.\n//  Copyright © 2017年 zhubch. All rights reserved."
  },
  {
    "path": "MarkLite/Model/ServerInfo.swift",
    "chars": 382,
    "preview": "//\n//  ServerInfo.swift\n//  Markdown\n//\n//  Created by 朱炳程 on 2020/2/24.\n//  Copyright © 2020 zhubch. All rights reserve"
  },
  {
    "path": "MarkLite/Model/TOCItem.swift",
    "chars": 235,
    "preview": "//\n//  TOCItem.swift\n//  Markdown\n//\n//  Created by 朱炳程 on 2020/4/15.\n//  Copyright © 2020 zhubch. All rights reserved.\n"
  },
  {
    "path": "MarkLite/Model/Theme.swift",
    "chars": 7888,
    "preview": "//\n//  Theme.swift\n//  Markdown\n//\n//  Created by zhubch on 2017/8/8.\n//  Copyright © 2017年 zhubch. All rights reserved."
  },
  {
    "path": "MarkLite/Resource/Instructions/ReadMe.md",
    "chars": 642,
    "preview": "\n### Welcome to Markdown👏\n\n### File Oprations📒\n\n1. **Swipe left** file cell to rename/move/delete\n2. **Long press** file"
  },
  {
    "path": "MarkLite/Resource/Instructions/Syntax.md",
    "chars": 1792,
    "preview": "## Markdown Syntax\n\n### Heading\n\nPut 1-6 `#` characters in the begining of line to make this line as *heading* line. The"
  },
  {
    "path": "MarkLite/Resource/Instructions/使用教程.md",
    "chars": 477,
    "preview": "**此文档在更新时可能会被覆盖或删除**\n\n### 欢迎使用Markdown👏\n\n### 文件操作📒\n\n1. **向左滑动**文件可删除或重命名\n2. **长按**文件可多选\n3. 点击➕按钮创建文件或目录,在「外部文件」目录中点击➕可导入"
  },
  {
    "path": "MarkLite/Resource/Instructions/数学公式.md",
    "chars": 3853,
    "preview": "\n### 如何插入公式\n\nLaTeX的数学公式有两种:行中公式和独立公式。行中公式放在文中与其它文字混编,独立公式单独成行。\n\n例子:\n\n```\n$[J_\\alpha(x) = \\sum_{m=0}^\\infty \\frac{(-1)^m}"
  },
  {
    "path": "MarkLite/Resource/Instructions/示例文档.md",
    "chars": 2482,
    "preview": "**此文档在更新时可能会被覆盖或删除**\n\n> 在使用Markdown之前,你可能需要先了解一下关于markdown的简单语法。\n\n### 1.标题\n\n*   使用 `#` 表示标题,一级标题使用一个 `#` ,二级标题使用两个 `##` "
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/androidstudio.css",
    "chars": 774,
    "preview": "/*\nDate: 24 Fev 2015\nAuthor: Pedro Oliveira <kanytu@gmail . com>\n*/\n\n.hljs {\n  color: #a9b7c6;\n  background: #282b2e;\n  "
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/codepen-embed.css",
    "chars": 842,
    "preview": "/*\n  codepen.io Embed Theme\n  Author: Justin Perry <http://github.com/ourmaninamsterdam>\n  Original theme - https://gith"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/color-brewer.css",
    "chars": 883,
    "preview": "/*\n\nColorbrewer theme\nOriginal: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org>\nPorted by"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/github.css",
    "chars": 1148,
    "preview": "/*\n\ngithub.com style (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n  display: block;\n  overflow-x: auto;\n  padd"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/monokai-sublime.css",
    "chars": 1026,
    "preview": "/*\n\nMonokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/\n\n*/\n\n.hljs {\n  display: bl"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/rainbow.css",
    "chars": 983,
    "preview": "/*\n\nStyle with support for rainbow parens\n\n*/\n\n.hljs {\n  display: block;\n  overflow-x: auto;\n  padding: 0.5em;\n  backgro"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/solarized-dark.css",
    "chars": 1145,
    "preview": "/*\n\nOrginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>\n\n*/\n\n.hljs {\n  display: block"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/solarized-light.css",
    "chars": 1145,
    "preview": "/*\n\nOrginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>\n\n*/\n\n.hljs {\n  display: block"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/tomorrow-night.css",
    "chars": 1149,
    "preview": "/* Tomorrow Night Theme */\n/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n/* Original theme - h"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/tomorrow.css",
    "chars": 978,
    "preview": "/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quo"
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/vs.css",
    "chars": 837,
    "preview": "/*\n\nVisual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>\n\n*/\n.hljs {\n  display: "
  },
  {
    "path": "MarkLite/Resource/Resources/Highlight/highlight-style/xcode.css",
    "chars": 1071,
    "preview": "/*\n\nXCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>\n\n*/\n\n.hljs {\n  display: block;\n  overflow-x: auto;\n  paddi"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/a11y/complexity.js",
    "chars": 18292,
    "preview": "!function(o){var i={};function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return o[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/a11y/explorer.js",
    "chars": 31255,
    "preview": "!function(o){var r={};function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return o[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/a11y/semantic-enrich.js",
    "chars": 7870,
    "preview": "!function(r){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/adaptors/liteDOM.js",
    "chars": 18867,
    "preview": "!function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/core.js",
    "chars": 191271,
    "preview": "!function(r){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/asciimath.js",
    "chars": 105993,
    "preview": "!function(i){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/mml/entities.js",
    "chars": 33258,
    "preview": "!function(t){var o={};function a(r){if(o[r])return o[r].exports;var e=o[r]={i:r,l:!1,exports:{}};return t[r].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/mml.js",
    "chars": 13483,
    "preview": "!function(r){var o={};function a(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/action.js",
    "chars": 3312,
    "preview": "!function(a){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return a[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/all-packages.js",
    "chars": 131813,
    "preview": "!function(r){var a={};function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/ams.js",
    "chars": 23100,
    "preview": "!function(a){var r={};function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return a[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/amscd.js",
    "chars": 6788,
    "preview": "!function(a){var r={};function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return a[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/autoload.js",
    "chars": 7408,
    "preview": "!function(o){var r={};function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return o[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/bbox.js",
    "chars": 3707,
    "preview": "!function(a){var n={};function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return a[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/boldsymbol.js",
    "chars": 4673,
    "preview": "!function(o){var a={};function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return o[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/braket.js",
    "chars": 6922,
    "preview": "!function(r){var a={};function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return r[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/bussproofs.js",
    "chars": 16995,
    "preview": "!function(r){var o={};function n(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return r[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/cancel.js",
    "chars": 4039,
    "preview": "!function(n){var a={};function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/color.js",
    "chars": 8958,
    "preview": "!function(o){var r={};function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return o[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/colorV2.js",
    "chars": 2786,
    "preview": "!function(o){var a={};function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return o[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/configMacros.js",
    "chars": 4340,
    "preview": "!function(a){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return a[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/enclose.js",
    "chars": 3061,
    "preview": "!function(n){var a={};function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/extpfeil.js",
    "chars": 4102,
    "preview": "!function(a){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return a[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/html.js",
    "chars": 3604,
    "preview": "!function(a){var n={};function r(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return a[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/mhchem.js",
    "chars": 36739,
    "preview": "!function(n){var a={};function o(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return n[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/newcommand.js",
    "chars": 10643,
    "preview": "!function(a){var n={};function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return a[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/noerrors.js",
    "chars": 2065,
    "preview": "!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/noundefined.js",
    "chars": 2048,
    "preview": "!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/physics.js",
    "chars": 23458,
    "preview": "!function(a){var r={};function n(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return a[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/require.js",
    "chars": 6435,
    "preview": "!function(a){var r={};function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return a[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/tagFormat.js",
    "chars": 3426,
    "preview": "!function(o){var e={};function r(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return o[t].call(n.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/unicode.js",
    "chars": 4155,
    "preview": "!function(a){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return a[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex/extensions/verb.js",
    "chars": 3272,
    "preview": "!function(n){var a={};function r(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return n[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex-base.js",
    "chars": 127087,
    "preview": "!function(r){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex-full.js",
    "chars": 252429,
    "preview": "!function(r){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/input/tex.js",
    "chars": 160240,
    "preview": "!function(r){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/latest.js",
    "chars": 5545,
    "preview": "!function(r){var a={};function n(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/loader.js",
    "chars": 12981,
    "preview": "!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/mml-chtml.js",
    "chars": 639894,
    "preview": "!function(r){var n={};function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/node-main.js",
    "chars": 228322,
    "preview": "!function(t,e){for(var r in e)t[r]=e[r]}(this,function(r){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]="
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/output/chtml/fonts/tex.js",
    "chars": 174013,
    "preview": "!function(s){var i={};function t(c){if(i[c])return i[c].exports;var f=i[c]={i:c,l:!1,exports:{}};return s[c].call(f.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/output/chtml.js",
    "chars": 192411,
    "preview": "!function(r){var o={};function i(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return r[t].call(e.expo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/functions/algebra.js",
    "chars": 677,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Algebra\",\"mappings\":{\"default\":{\"default\":\"degree\"}},\"key\":\"deg\",\"names\":[\"deg\"]},{\"catego"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/functions/elementary.js",
    "chars": 2837,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Logarithm\",\"mappings\":{\"default\":{\"default\":\"logarithm\",\"alternative\":\"logarithm function\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/functions/hyperbolic.js",
    "chars": 2228,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Hyperbolic\",\"mappings\":{\"default\":{\"default\":\"hyperbolic cosine function\",\"short\":\"hyperbo"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/functions/trigonometry.js",
    "chars": 1920,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Trigonometric\",\"mappings\":{\"default\":{\"default\":\"cosine function\",\"short\":\"cosine\"}},\"key\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-capital.js",
    "chars": 4572,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"key\":\"0391\",\"mappings\":{\"default\":{\"default\":\"greek capital letter alpha\",\"short\":\"ca"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-mathfonts-bold-italic.js",
    "chars": 10962,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"mathematical bold italic capital alpha\",\"alternative"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-mathfonts-bold.js",
    "chars": 9597,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"mathematical bold capital alpha\",\"alternative\":\"bold"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-mathfonts-italic.js",
    "chars": 9987,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"mathematical italic capital alpha\",\"alternative\":\"it"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-mathfonts-sans-serif-bold-italic.js",
    "chars": 13107,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"mathematical sans serif bold italic capital alpha\",\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-mathfonts-sans-serif-bold.js",
    "chars": 11742,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"mathematical sans serif bold capital alpha\",\"alterna"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-scripts.js",
    "chars": 2133,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"key\":\"1D26\",\"mappings\":{\"default\":{\"default\":\"greek letter small capital gamma\",\"alte"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-small.js",
    "chars": 2755,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"key\":\"03B1\",\"mappings\":{\"default\":{\"default\":\"greek small letter alpha\",\"short\":\"alph"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/greek-symbols.js",
    "chars": 6564,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"mappings\":{\"default\":{\"default\":\"greek beta symbol\",\"alternative\":\"greek small letter"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/hebrew_letters.js",
    "chars": 574,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lo\",\"mappings\":{\"default\":{\"default\":\"alef symbol\",\"alternative\":\"first transfinite cardin"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-lower-double-accent.js",
    "chars": 10968,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"key\":\"01D6\",\"mappings\":{\"default\":{\"default\":\"latin small letter u with diaeresis and"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-lower-normal.js",
    "chars": 6206,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"key\":\"0061\",\"mappings\":{\"default\":{\"default\":\"latin small letter a\",\"short\":\"a\",\"neme"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-lower-phonetic.js",
    "chars": 30503,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"key\":\"00F8\",\"mappings\":{\"default\":{\"default\":\"latin small letter o with stroke\",\"alte"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-lower-single-accent.js",
    "chars": 54793,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"key\":\"00E0\",\"mappings\":{\"default\":{\"default\":\"latin small letter a with grave\",\"alter"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-bold-fraktur.js",
    "chars": 8572,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"bold fraktur capital a\",\"short\":\"bold fraktur cap a\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-bold-italic.js",
    "chars": 8416,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"bold italic capital a\",\"short\":\"bold italic cap a\"},"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-bold-script.js",
    "chars": 8416,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"bold script capital a\",\"short\":\"bold script cap a\"},"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-bold.js",
    "chars": 7324,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"bold capital a\",\"short\":\"bold cap a\"},\"mathspeak\":{\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-double-struck.js",
    "chars": 8721,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"double struck capital a\",\"short\":\"double struck cap "
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-fraktur.js",
    "chars": 7787,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"fraktur capital a\",\"short\":\"fraktur cap a\"},\"mathspe"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-italic.js",
    "chars": 7675,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"italic capital a\",\"short\":\"italic cap a\"},\"mathspeak"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-monospace.js",
    "chars": 6986,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"monospace capital a\",\"short\":\"monospace cap a\"},\"mat"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-sans-serif-bold-italic.js",
    "chars": 10132,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"sans serif bold italic capital a\",\"short\":\"sans seri"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-sans-serif-bold.js",
    "chars": 9040,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"sans serif bold capital a\",\"short\":\"sans serif bold "
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-sans-serif-italic.js",
    "chars": 9352,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"sans serif italic capital a\",\"short\":\"sans serif ita"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-sans-serif.js",
    "chars": 8260,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"sans serif capital a\",\"short\":\"sans serif cap a\"},\"m"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-mathfonts-script.js",
    "chars": 7625,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"mappings\":{\"default\":{\"default\":\"script capital a\",\"short\":\"script cap a\"},\"mathspeak"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-rest.js",
    "chars": 37660,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Mn\",\"key\":\"0363\",\"mappings\":{\"default\":{\"default\":\"combining latin small letter a\",\"short\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-upper-double-accent.js",
    "chars": 14059,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"key\":\"01D5\",\"mappings\":{\"default\":{\"default\":\"latin capital letter u with diaeresis a"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-upper-normal.js",
    "chars": 11042,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"key\":\"0041\",\"mappings\":{\"default\":{\"default\":\"latin capital letter a\",\"short\":\"cap a\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/latin-upper-single-accent.js",
    "chars": 57533,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Lu\",\"key\":\"00C0\",\"mappings\":{\"default\":{\"default\":\"latin capital letter a with grave\",\"alt"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_angles.js",
    "chars": 2582,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Sm\",\"mappings\":{\"default\":{\"default\":\"right angle with arc\"}},\"key\":\"22BE\"},{\"category\":\"S"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_arrows.js",
    "chars": 60254,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Sm\",\"mappings\":{\"default\":{\"default\":\"leftwards arrow\",\"short\":\"left arrow\"},\"mathspeak\":{"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_characters.js",
    "chars": 1938,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"mappings\":{\"default\":{\"default\":\"script small l\",\"short\":\"script l\"}},\"key\":\"2113\"},{"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_delimiters.js",
    "chars": 31462,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ps\",\"mappings\":{\"default\":{\"default\":\"left parenthesis\",\"alternative\":\"opening parenthesis"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_digits.js",
    "chars": 45308,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Nd\",\"mappings\":{\"default\":{\"default\":\"digit zero\",\"short\":\"zero\"},\"mathspeak\":{\"default\":\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_geometry.js",
    "chars": 37167,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"So\",\"mappings\":{\"default\":{\"default\":\"box drawings light horizontal\",\"alternative\":\"forms "
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_harpoons.js",
    "chars": 7889,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"So\",\"mappings\":{\"default\":{\"default\":\"leftwards harpoon with barb upwards\",\"short\":\"left h"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_non_characters.js",
    "chars": 3142,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Ll\",\"mappings\":{\"default\":{\"default\":\"mathematical italic small h over two time greek lett"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_symbols.js",
    "chars": 126891,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Po\",\"mappings\":{\"default\":{\"default\":\"factorial operator\",\"alternative\":\"exclamation mark\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/math_whitespace.js",
    "chars": 3743,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"Zs\",\"mappings\":{\"default\":{\"default\":\"space\"}},\"key\":\"0020\"},{\"category\":\"Zs\",\"mappings\":{"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/symbols/other_stars.js",
    "chars": 5381,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"So\",\"mappings\":{\"default\":{\"default\":\"decimal exponent symbol\"}},\"key\":\"23E8\"},{\"category\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/energy.js",
    "chars": 1337,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"energy\",\"mappings\":{\"default\":{\"default\":\"watt\"}},\"key\":\"W\",\"names\":[\"W\",\"w\"]},{\"category\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/length.js",
    "chars": 881,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"length\",\"mappings\":{\"default\":{\"default\":\"millimeter\"}},\"key\":\"mm\",\"names\":[\"mm\"]},{\"categ"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/memory.js",
    "chars": 569,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"memory\",\"mappings\":{\"default\":{\"default\":\"bit\"}},\"key\":\"b\",\"names\":[\"b\"]},{\"category\":\"mem"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/other.js",
    "chars": 317,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"other\",\"mappings\":{\"default\":{\"default\":\"dozen\"}},\"key\":\"doz\",\"names\":[\"doz\",\"doz.\",\"dz\",\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/speed.js",
    "chars": 429,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"speed\",\"mappings\":{\"default\":{\"default\":\"knot\"}},\"key\":\"kt\",\"names\":[\"kt\",\"kt.\"]},{\"catego"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/temperature.js",
    "chars": 355,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"temperature\",\"mappings\":{\"default\":{\"default\":\"Fahrenheit\"}},\"key\":\"F\",\"names\":[\"F\",\"F.\",\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/time.js",
    "chars": 573,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"time\",\"mappings\":{\"default\":{\"default\":\"nanosecond\"}},\"key\":\"ns\",\"names\":[\"ns\"]},{\"categor"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/volume.js",
    "chars": 1210,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"volume\",\"mappings\":{\"default\":{\"default\":\"barrel\"}},\"key\":\"bbl\",\"names\":[\"bbl.\",\"bbl\"]},{\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/en/units/weight.js",
    "chars": 789,
    "preview": "[{\"locale\":\"en\"},{\"category\":\"weight\",\"mappings\":{\"default\":{\"default\":\"pound\"}},\"key\":\"lb\",\"names\":[\"lb\",\"lb.\"]},{\"cate"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/es/functions/algebra.js",
    "chars": 611,
    "preview": "[{\"locale\":\"es\"},{\"key\":\"deg\",\"names\":[\"deg\"],\"mappings\":{\"default\":{\"default\":\"grados\"}},\"category\":\"Algebra\"},{\"key\":\""
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/es/functions/elementary.js",
    "chars": 2087,
    "preview": "[{\"locale\":\"es\"},{\"key\":\"log\",\"names\":[\"log\"],\"mappings\":{\"default\":{\"default\":\"logaritmo\"}},\"category\":\"Logarithm\"},{\"k"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/es/functions/hyperbolic.js",
    "chars": 1456,
    "preview": "[{\"locale\":\"es\"},{\"key\":\"cosh\",\"names\":[\"cosh\"],\"mappings\":{\"default\":{\"default\":\"coseno hiperbólico\"}},\"category\":\"Hype"
  },
  {
    "path": "MarkLite/Resource/Resources/MathJax/sre/mathmaps/es/functions/trigonometry.js",
    "chars": 1321,
    "preview": "[{\"locale\":\"es\"},{\"key\":\"cos\",\"names\":[\"cos\",\"cosine\"],\"mappings\":{\"default\":{\"default\":\"coseno\"}},\"category\":\"Trigonome"
  }
]

// ... and 224 more files (download for full content)

About this extraction

This page contains the full source code of the zhubch/MarkLite GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 424 files (9.3 MB), approximately 2.5M tokens, and a symbol index with 3003 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!