Commit graph

56 commits

Author SHA1 Message Date
Jakub Jirutka
a21a14a7cc Allow to include own style(s) into HTML produced by CLI
Resolves #6
2020-04-19 17:29:37 +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
Jakub Jirutka
1b6d3b2524 Bump marked from 0.7.0 to 0.8.0 2020-01-23 12:34:38 +01:00
Jakub Jirutka
9e8c3752b0 Fix readNotebookTitle to be compatible with marked 0.8.0 2020-01-23 12:07:58 +01:00
Jakub Jirutka
049703e14c Bump highlightjs, katex and source-map-support 2020-01-23 12:07:58 +01:00
Jakub Jirutka
712c0dbb0c Add prefix "render" to NbRenderer's methods 2020-01-22 16:57:27 +01:00
Jakub Jirutka
6c2fa15393 Refactor renderer object to class
It's more flexible in terms of extensibility and more familiar for devs.
Avoiding classes doesn't seem to be really worth it in this particular
case.
2020-01-22 16:19:07 +01:00
Jakub Jirutka
31173df623 Rename type Options in renderer to NbRendererOpts 2020-01-22 16:13:40 +01:00
Jakub Jirutka
93a559493f Rename dataRenderersOrder to dataTypesPriority 2019-11-08 19:31:27 +01:00
Jakub Jirutka
875e57639e Rename template.ts to page.ts 2019-11-04 10:43:04 +01:00
Jakub Jirutka
842f652ca5 Increase margin before headings in CLI styles 2019-11-04 01:37:41 +01:00
Jakub Jirutka
d658d9b5b7 Use box-shadow on .nb-notebook in CLI styles 2019-11-04 01:37:41 +01:00
Jakub Jirutka
8427698e21 Improve CLI styles to be more consistent across different browsers 2019-11-04 01:37:41 +01:00
Jakub Jirutka
638666c723 Add rules for tables into CLI styles 2019-11-04 01:37:41 +01:00
Jakub Jirutka
eeee0decc6 Extract inline style from template.ts to page.css 2019-11-04 01:37:41 +01:00
Jakub Jirutka
74a27b318f Improve styles responsivity 2019-11-04 01:37:41 +01:00
Jakub Jirutka
b7cbf2230b Remove CSS class nb-worksheet
I've added it only for backward compatibility with styles designed for
notebook.js, but actually even nbpreview (from the same author as
notebook.js) doesn't use it. Let's get rid of it.
2019-11-04 01:37:41 +01:00
Jakub Jirutka
37ce69b9d1 Add reference stylesheet and use it instead of nbpreview's 2019-11-04 01:37:40 +01:00
Jakub Jirutka
1a8142f641 Fix running CLI directly from installed npm package 2019-11-03 23:25:46 +01:00
Jakub Jirutka
68e382d05b Remove x permission from cli.ts 2019-11-03 23:25:46 +01:00
Jakub Jirutka
e68d189879 Release version 0.1.0-beta.8 2019-10-29 01:32:48 +01:00
Jakub Jirutka
c687f528dc Add License with info about bundled deps into release tarball/zip 2019-10-29 01:29:31 +01:00
Jakub Jirutka
e4f8f436f1 Pack CLI bundle into release tarball and zip 2019-10-29 01:29:31 +01:00
Jakub Jirutka
8d6614bccc Build standalone bundle with CLI 2019-10-29 01:29:31 +01:00
Jakub Jirutka
8c924913cf Create package ipynb2html-cli 2019-10-29 01:29:30 +01:00
Jakub Jirutka
aab57a8f48 Inject summary of bundled packages into the browser bundle 2019-10-28 22:16:03 +01:00
Jakub Jirutka
3154d20f2b Release version 0.1.0-beta.7 2019-10-23 18:29:12 +02:00
Jakub Jirutka
4705564489 Add specialized support for browser env. and build browser bundles 2019-10-23 18:28:18 +02:00
Jakub Jirutka
d8c18bd2c6 ipynb2html: Remove dependency on nodom, allow to provide any Document 2019-10-23 01:22:45 +02:00