Commit graph

214 commits

Author SHA1 Message Date
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
0da10ec702 Readme: Exclude section Installation from npm Readme 2019-10-29 01:43:43 +01:00
Jakub Jirutka
e68d189879 Release version 0.1.0-beta.8 2019-10-29 01:32:48 +01:00
Jakub Jirutka
7aadb665b6 CI: Create source tarball and deploy to GitHub Releases 2019-10-29 01:29:31 +01:00
Jakub Jirutka
1e8620a8e0 Readme: Add Installation and Usage for CLI 2019-10-29 01:29:31 +01:00
Jakub Jirutka
0afc6f755b CI: Deploy tarball/zip with CLI to GitHub Releases 2019-10-29 01:29:31 +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
01865d5971 Add patch for rollup-plugin-add-git-msg to fix "vv" version prefix 2019-10-24 15:55:05 +02:00
Jakub Jirutka
731bd2c619 Add tool patch-package 2019-10-24 15:55:04 +02:00
Jakub Jirutka
1a092a2736 CI: Add yarn run bundle 2019-10-23 18:42:10 +02:00
Jakub Jirutka
4d3777725b Exclude /packages/*/dist from linted files 2019-10-23 18:40:40 +02:00
Jakub Jirutka
3154d20f2b Release version 0.1.0-beta.7 2019-10-23 18:29:12 +02:00
Jakub Jirutka
7129670f63 Add example pages for browser bundles 2019-10-23 18:28:18 +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
36faf95829 Add version attribute to Readme 2019-10-23 18:28:17 +02:00
Jakub Jirutka
d8c18bd2c6 ipynb2html: Remove dependency on nodom, allow to provide any Document 2019-10-23 01:22:45 +02:00
Jakub Jirutka
dd4bee7118 Readme: Add Usage example 2019-10-22 20:11:54 +02:00
Jakub Jirutka
58aff83cc5 Readme: Add Bundlephobia badges 2019-10-20 22:20:05 +02:00
Jakub Jirutka
3c78b609f4 Readme: Fix wrong level of title System Requirements 2019-10-20 20:42:05 +02:00
Jakub Jirutka
a4aeca48b8 Re-export readNotebookTitle from index 2019-10-20 15:34:23 +02:00
Jakub Jirutka
518c327d78 Change default export in ipynb2html/index to named 2019-10-20 15:33:09 +02:00
Jakub Jirutka
af2ed64899 Release version 0.1.0-beta.6 2019-10-19 20:57:42 +02:00
Jakub Jirutka
91e8aafa10 Add script for converting README.adoc to Markdown before publishing
npmjs.com still doesn't support AsciiDoc for READMEs. >_<
2019-10-19 20:30:22 +02:00
Jakub Jirutka
e2edb19bc0 Readme: Add short preamble 2019-10-19 20:30:22 +02:00
Jakub Jirutka
1ae226918c Split package to ipynb2html and ipynb2html-core 2019-10-19 20:30:22 +02:00
Jakub Jirutka
495f17fd87 Convert repository to "monorepo" 2019-10-19 20:30:21 +02:00
Jakub Jirutka
9e27f0a8ed Bump eslint-config-standard-with-typescript to ^10.0.0 2019-10-18 19:02:55 +02:00
Jakub Jirutka
04a37430d1 Bump @typescript-eslint/* to ^2.4.0 2019-10-18 18:56:23 +02:00
Jakub Jirutka
9b80667f99 Bump ts-node to ^8.4.1 2019-10-18 18:43:11 +02:00
Jakub Jirutka
99092cd975 Bump typescript to ~3.6.4 2019-10-18 18:40:53 +02:00
Jakub Jirutka
b848a9028a VSCode: Use workspace version of tsdk 2019-10-18 18:27:35 +02:00
Jakub Jirutka
c06d13821c VSCode: Add more format settings 2019-10-18 18:25:48 +02:00
Jakub Jirutka
a8c48cc4f2 Add suffix Output to nbformat types Error and Stream
To avoid confusion with standard JS/Node types.
2019-10-14 14:21:44 +02:00