hedgedoc/public/js
David Mehren 3b00601872
Inline CSS & JS into HTML export template
Previously, the HTML export template `html.hbs` included CDN links
for the HTML and CSS resources.

This commit enables Webpack to create a new `htmlexport.html` at
build-time, which includes all resources inline.
That template is then used as before by the frontend to be populated
with the rendered note content.

The tradeoff is that each exported .html file is about 5.6 MB in size,
as we need to inline all fonts (icons & emojis).

Signed-off-by: David Mehren <git@herrmehren.de>
2021-08-15 00:09:53 +02:00
..
lib Load inline-attachment without script-loader 2021-06-07 20:59:35 +02:00
cover.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
extra.js Inline CSS & JS into HTML export template 2021-08-15 00:09:53 +02:00
history.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
htmlExport.js Inline CSS & JS into HTML export template 2021-08-15 00:09:53 +02:00
index.js Lazy-load highlight.js 2021-06-11 09:29:27 +02:00
locale.js Extract list of supported languages in separate file 2021-04-26 21:45:31 +02:00
mathjax-config-extra.js Fix MathJax config not being picked up 2017-10-22 02:48:24 +02:00
pretty.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
render.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
reveal-markdown.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
slide.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
utils.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00