Commit graph

83 commits

Author SHA1 Message Date
Jakub Jirutka
ae9c35a367 Viewer: Add support for adding content hash into asset file names 2021-06-12 15:18:25 +02:00
Jakub Jirutka
3afc120a3b Viewer: Generate index.html from template with injected asset paths 2021-06-12 15:18:25 +02:00
Jakub Jirutka
ed9d86b894 Viewer: Run PostCSS via Rollup 2021-06-12 15:18:25 +02:00
Jakub Jirutka
9c3002271f Viewer: Build dev and minified bundle separately
This is a preparation for the upcoming commits.
2021-06-12 15:18:25 +02:00
Jakub Jirutka
b27a8d79f7 Restructuralize package build scripts 2021-06-12 15:18:25 +02:00
Jakub Jirutka
eead007e6f Rename package script "build" to "build-ts" 2021-06-12 15:18:25 +02:00
Jakub Jirutka
dd0f34e7a9 Create package ipynb2html-viewer 2021-06-12 15:18:24 +02:00
Jakub Jirutka
6c26d381f0 Bump katex from 0.11.1 to 0.13.11 2021-06-12 00:40:40 +02:00
Jakub Jirutka
e1ba5039e4 Bump ansi_up from 4.0.4 to 5.0.1 2021-06-12 00:24:30 +02:00
Jakub Jirutka
1defdcd4ca Don't use deprecated highlight.js API
Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated.

    Deprecated as of 10.7.0. Please use highlight(code, options) instead.
    https://github.com/highlightjs/highlight.js/issues/2277
2021-06-12 00:24:30 +02:00
Jakub Jirutka
ccf16ab7c6 Remove @types/highlight.js (not needed anymore)
highlight.js already provides TypeScript types.
2021-06-12 00:13:22 +02:00
Jakub Jirutka
3eee5ebd60 Bump highlight.js from 10.1.1 to 10.7.3 2021-06-11 23:58:20 +02:00
Jakub Jirutka
8bd46774dd Bump marked from 1.0.0 to 2.0.7
Resolves #22
2021-06-11 23:47:33 +02:00
Jakub Jirutka
fbecff633a Release version 0.3.0 2020-10-28 18:51:56 +01:00
Jakub Jirutka
6ca8858d64 Disable ESLint rule @typescript-eslint/no-invalid-void-type 2020-06-21 12:29:08 +02:00
Jakub Jirutka
6944ff1b82 Move ipynb2html's devDependencies from parent to ipynb2html package 2020-06-21 11:08:04 +02:00
Jakub Jirutka
7fbd5b5d8b Bump all devDependencies to their latest minor version 2020-06-21 01:23:40 +02:00
Jakub Jirutka
a31ddbe203 Enable more ESLint rules 2020-06-21 01:23:40 +02:00
Jakub Jirutka
2f3d7ae4c6 Fix default HTML title in CLI 2020-06-21 01:23:40 +02:00
Jakub Jirutka
49d16ec079 Use no delimiter for members in interfaces 2020-06-21 01:23:40 +02:00
Jakub Jirutka
d29f006090 Bump eslint and its plugins, update rules and fix new violations 2020-06-21 01:23:39 +02:00
Jakub Jirutka
06ab09f278 Bump rollup from 1.x to 2.x and its plugins 2020-06-21 00:43:49 +02:00
Jakub Jirutka
110c8ca82a Use property signature syntax for methods
See 4c9293bd5e/packages/eslint-plugin/docs/rules/method-signature-style.md
2020-06-20 12:47:35 +02:00
Jakub Jirutka
d9bea2feb2 Bump highlight.js to 10.1.1 2020-06-17 00:39:07 +02:00
Jakub Jirutka
9685b5d8b8 Bump marked to 1.0.0
The latest version is 1.1.0 but they changed rendering of img from
`<img ...>` to `<img ... />` which breaks our tests.
2020-06-17 00:37:07 +02:00
Jakub Jirutka
e4549711f1 Fix font-size of <h1> inside <section>
See https://stackoverflow.com/a/26291186/2217862.
2020-04-19 19:10:15 +02:00
Jakub Jirutka
3a312385f6 Wrap cells in <section> instead of <div> 2020-04-19 18:50:36 +02:00
Jakub Jirutka
19b41d9c22 Allow to include own style(s) into HTML produced by CLI
Resolves #6
2020-04-19 18:23:50 +02:00
Jakub Jirutka
cc2da7398e Release version 0.2.1 2020-04-10 17:40:21 +02:00
Jakub Jirutka
294e9c1f83 Bump highlight.js from ^9.16.2 to ^9.18.1 2020-04-10 17:39:37 +02:00
Jakub Jirutka
20008c9834 Replace deprecated dependency highlightjs with highlight.js 2020-04-10 17:27:52 +02:00
Jakub Jirutka
a901a0ad68 Release version 0.2.0 2020-04-08 17:45:57 +02:00
Jakub Jirutka
fcdfb50698 Bump minimist from ^1.2.3 to ^1.2.5 2020-04-08 17:41:55 +02:00
Jakub Jirutka
ca6e88159e Strip accents from generated header ids 2020-04-08 17:26:27 +02:00
Jakub Jirutka
af91c38a02 Add tests for markdownRenderer 2020-04-08 17:23:19 +02:00
Jakub Jirutka
1f5e0fdab8 Strip math from generated alt, id, href, and title attributes 2020-04-08 17:23:18 +02:00
Jakub Jirutka
e7402a80ea Add anchors to Markdown headings 2020-04-08 12:25:22 +02:00
Jakub Jirutka
498112834c Use markdownRenderer even when katex is not available 2020-04-08 12:25:22 +02:00
Jakub Jirutka
c13cb544cb Change structure of tsconfigs for tests to fix issues in VSCode 2020-04-07 22:49:45 +02:00
Jakub Jirutka
bbbcd2398e Enable ESLint rule import/order 2020-04-07 22:46:47 +02:00
Jakub Jirutka
7e35810c7f Remove types/ from compilerOptions.paths in tsconfigs
It's not needed here and it breaks ESLint rule import/order.
2020-04-07 22:45:10 +02:00
Jakub Jirutka
4c47e54acf Bump marked from ^0.8.0 to ^0.8.2
This version fixes insufficient sanitization of IDs.
2020-04-07 01:02:50 +02:00
dependabot[bot]
dbd6bc8821 Bump minimist from 1.2.0 to 1.2.3
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-06 19:44:26 +02:00
Jakub Jirutka
ea852d43f7 Add meta tag generator to HTML template for CLI 2020-03-27 23:55:16 +01:00
Jakub Jirutka
56608c2704 Use ESLint cache 2020-02-07 01:08:25 +01:00
Jakub Jirutka
ddef7d0da5 Fix package script "lint" in packages/* 2020-02-07 00:59:07 +01:00
Jakub Jirutka
ed62ee01e3 Release version 0.1.0 2020-01-23 18:03:26 +01:00
Jakub Jirutka
28735b24c2 Replace rollup-plugin-node-resolve with @rollup/plugin-node-resolve 2020-01-23 17:50:56 +01:00
Jakub Jirutka
f7e794f0fe Replace rollup-plugin-commonjs with @rollup/plugin-commonjs 2020-01-23 17:50:20 +01:00
Jakub Jirutka
fd5d79319c Bump eslint and its plugins, fix new code-style violations 2020-01-23 17:31:46 +01:00