Markdown Viewer is an open source browser extension hosted on GitHub: https://github.com/simov/markdown-viewer/tree/firefox
Build the themes and vendor folders, and create the markdown-viewer.zip package:
cd markdown-viewer/
sh build/package.sh firefox- node 18
- npm 10
- git
- zip
Ubuntu 22.04.3 LTS (jammy) 5.19.0-50-generic
| Library | Outputs + Build Strategy |
|---|---|
| bootstrap | • vendor/bootstrap.min.css (copy file) |
| csso | • vendor/csso.min.js (copy file) |
| markdown-it | • vendor/markdown-it/ (folder - copy js files) |
| mathjax | • vendor/mathjax/ (folder - copy js & font files) |
| mdc | • vendor/mdc/ (folder - copy js files) • vendor/mdc.min.css (build + minify) |
| mermaid | • vendor/mermaid.min.js (copy file) |
| mithril | • vendor/mithril.min.js (copy file) |
| panzoom | • vendor/panzoom.min.js (copy file) |
| prism | • vendor/prism/ (folder - copy js files) • vendor/prism.js (copy file) • vendor/prism.min.css (modify + copy) • vendor/prism-okaidia.min.css (modify + copy) |
| themes | • themes/ (folder - copy + update + minify css files) |
build/bootstrap/https://github.com/simov/markdown-viewer/tree/firefox/build/bootstrap
sh build/bootstrap/build.sh| module | version | source |
|---|---|---|
| bootstrap | 5.3.3 | https://github.com/twbs/bootstrap/tree/v5.3.3 |
vendor/bootstrap.min.css
https://github.com/twbs/bootstrap/blob/v5.3.3/dist/css/bootstrap.min.css
build/csso/https://github.com/simov/markdown-viewer/tree/firefox/build/csso
sh build/csso/build.sh| module | version | source |
|---|---|---|
| csso | 5.0.5 | https://github.com/css/csso/tree/v5.0.5 |
vendor/csso.min.css
node_modules/csso/dist/csso.js
build/markdown-it/https://github.com/simov/markdown-viewer/tree/firefox/build/markdown-it
sh build/markdown-it/build.shvendor/markdown-it/markdown-it.min.js
https://github.com/markdown-it/markdown-it/blob/13.0.1/dist/markdown-it.min.jsvendor/markdown-it/markdown-it-abbr.js
https://github.com/markdown-it/markdown-it-abbr/blob/1.0.4/dist/markdown-it-abbr.jsvendor/markdown-it/markdown-it-anchor.js
https://github.com/valeriangalliat/markdown-it-anchor/blob/v8.6.7/dist/markdownItAnchor.umd.jsvendor/markdown-it/markdown-it-attrs.js
https://github.com/arve0/markdown-it-attrs/blob/v4.1.6/markdown-it-attrs.browser.jsvendor/markdown-it/markdown-it-cjk-breaks.js
https://github.com/markdown-it/markdown-it-cjk-breaks/blob/1.1.3/dist/markdown-it-cjk-breaks.jsvendor/markdown-it/markdown-it-deflist.js
https://github.com/markdown-it/markdown-it-deflist/blob/2.1.0/dist/markdown-it-deflist.jsvendor/markdown-it/markdown-it-footnote.js
https://github.com/markdown-it/markdown-it-footnote/blob/3.0.3/dist/markdown-it-footnote.jsvendor/markdown-it/markdown-it-ins.js
https://github.com/markdown-it/markdown-it-ins/blob/3.0.1/dist/markdown-it-ins.jsvendor/markdown-it/markdown-it-mark.js
https://github.com/markdown-it/markdown-it-mark/blob/3.0.1/dist/markdown-it-mark.jsvendor/markdown-it/markdown-it-sub.js
https://github.com/markdown-it/markdown-it-sub/blob/1.0.0/dist/markdown-it-sub.jsvendor/markdown-it/markdown-it-sup.js
https://github.com/markdown-it/markdown-it-sup/blob/1.0.0/dist/markdown-it-sup.jsvendor/markdown-it/markdown-it-task-lists.js
https://github.com/revin/markdown-it-task-lists/blob/master/dist/markdown-it-task-lists.js
build/mathjax/https://github.com/simov/markdown-viewer/tree/firefox/build/mathjax
sh build/mathjax/build.sh| module | version | source |
|---|---|---|
| mathjax | 3.2.2 | https://github.com/mathjax/MathJax/tree/3.2.2 |
vendor/mathjax/extensions/
https://github.com/mathjax/MathJax/tree/3.2.2/es5/input/tex/extensionsvendor/mathjax/fonts/
https://github.com/mathjax/MathJax/tree/3.2.2/es5/output/chtml/fonts/woff-v2vendor/mathjax/tex-mml-chtml.js
https://github.com/mathjax/MathJax/blob/3.2.2/es5/tex-mml-chtml.js
build/mdc/https://github.com/simov/markdown-viewer/tree/firefox/build/mdc
sh build/mdc/build.sh| module | version | source |
|---|---|---|
| @material/button | 0.37.1 | https://github.com/material-components/material-components-web/tree/v0.37.1 |
| @material/ripple | 0.37.1 | https://github.com/material-components/material-components-web/tree/v0.37.1 |
| @material/switch | 0.36.1 | https://github.com/material-components/material-components-web/tree/v0.36.1 |
| @material/tabs | 0.37.1 | https://github.com/material-components/material-components-web/tree/v0.37.1 |
| @material/textfield | 0.37.1 | https://github.com/material-components/material-components-web/tree/v0.37.1 |
vendor/mdc/mdc.ripple.min.js
node_modules/@material/ripple/dist/mdc.ripple.min.jsvendor/mdc/mdc.tabs.min.js
node_modules/@material/tabs/dist/mdc.tabs.min.jsvendor/mdc/mdc.textfield.min.js
node_modules/@material/textfield/dist/mdc.textfield.min.jsvendor/mdc.min.css(build + minified)
build/mermaid/https://github.com/simov/markdown-viewer/tree/firefox/build/mermaid
sh build/mermaid/build.sh| module | version | source |
|---|---|---|
| mermaid | 9.2.2 | https://github.com/mermaid-js/mermaid/tree/v9.2.2 |
vendor/mermaid.min.js
node_modules/mermaid/dist/mermaid.min.js
build/mithril/https://github.com/simov/markdown-viewer/tree/firefox/build/mithril
sh build/mithril/build.sh| module | version | source |
|---|---|---|
| mithril | 1.1.7 | https://github.com/MithrilJS/mithril.js/tree/v1.1.7 |
vendor/mithril.min.js
https://github.com/MithrilJS/mithril.js/blob/v1.1.7/mithril.min.js
build/panzoom/https://github.com/simov/markdown-viewer/tree/firefox/build/panzoom
sh build/panzoom/build.sh| module | version | source |
|---|---|---|
| @panzoom/panzoom | 4.5.1 | https://github.com/timmywil/panzoom/tree/4.5.1 |
vendor/panzoom.min.js
node_modules/@panzoom/panzoom/dist/panzoom.min.js
build/prism/https://github.com/simov/markdown-viewer/tree/firefox/build/prism
sh build/prism/build.sh| module | version | source |
|---|---|---|
| prismjs | 1.30.0 | https://github.com/PrismJS/prism/tree/v1.30.0 |
vendor/prism/
https://github.com/PrismJS/prism/tree/v1.30.0/components (.min.js files only)vendor/prism.js
https://github.com/PrismJS/prism/blob/v1.30.0/prism.jsvendor/prism.min.css
https://github.com/PrismJS/prism/blob/v1.30.0/themes/prism.css (modified, minified)vendor/prism-okaidia.min.css
https://github.com/PrismJS/prism/blob/v1.30.0/themes/prism-okaidia.css (modified, minified)
build/themes/https://github.com/simov/markdown-viewer/tree/firefox/build/themes
sh build/themes/build.sh| module | version | source |
|---|---|---|
| cleanrmd | 0.1.0 | https://github.com/gadenbuie/cleanrmd/tree/v0.1.0 |
| github-markdown-css | 5.5.1 | https://github.com/sindresorhus/github-markdown-css/tree/v5.5.1 |
themes/github.css
https://github.com/sindresorhus/github-markdown-css/blob/v5.5.1/github-markdown-light.css (minified)themes/github-dark.css
https://github.com/sindresorhus/github-markdown-css/blob/v5.5.1/github-markdown-dark.css (minified)themes/*.css
https://github.com/gadenbuie/cleanrmd/tree/v0.1.0/inst/resources (modified, minified)