hedgedoc/public
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
..
banner Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
css Improved CSS in night-mode 2021-01-28 12:30:47 +01:00
docs Fix endless loop on shutdown when DB can't be reached 2021-08-14 23:47:26 +02:00
fonts
icons apply review suggestions 2020-11-15 20:12:39 +01:00
js Inline CSS & JS into HTML export template 2021-08-15 00:09:53 +02:00
uploads
vendor Load abcjs from npm package 2021-06-07 20:59:37 +02:00
views Inline CSS & JS into HTML export template 2021-08-15 00:09:53 +02:00
.eslintrc.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
default.md
screenshot.png Updated screenshot 2020-11-17 11:13:58 +01:00