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
Jakub Jirutka
6e64ab79c6
Readme: Remove yarn from System Requirements
...
It can be installed using npm which is already described in How to Start.
2019-10-14 01:17:30 +02:00
Jakub Jirutka
f84ba06666
Add Coverage Gutters to list of recommended VS Code extensions
2019-10-14 01:16:07 +02:00
Jakub Jirutka
cde05b7272
Release version 0.1.0-beta.5
2019-10-14 01:06:27 +02:00
Jakub Jirutka
9cabcadd4c
Fix wrong named imports and disable corresponding ESLint rule
...
It doesn't work when the code is bundled using Rollup.js. This problem
was introduced in 0394738a35
. KaTeX and
Marked have it wrong in type declarations, so ESLint rule
import/no-named-as-default-member is not very helpful here...
2019-10-14 01:04:55 +02:00
Jakub Jirutka
0d94c8a2ac
Add comments to index.ts and improve comment on buildRenderer()
2019-10-14 00:35:58 +02:00
Jakub Jirutka
3919b16d7d
Rename hjs to hljs (highlight.js)
...
hjs was a mistake, I wanted to follow the name used in the highlight.js'
examples on their web.
2019-10-13 23:39:54 +02:00
Jakub Jirutka
00ea724910
Pass provided katexOpts even to htmlRenderer and centralize defaults
2019-10-13 20:48:24 +02:00
Jakub Jirutka
35eb180fe9
Add ts-transformer-export-default-name
2019-10-13 14:24:42 +02:00
Jakub Jirutka
b54d86c3a4
Bump anser to ^1.4.9
2019-10-13 14:18:01 +02:00
Jakub Jirutka
ffaec46e59
Readme: Change clone address to https://
...
One cannot clone the repository via SSH if doesn't have an SSH key on GitHub.
2019-10-08 00:20:00 +02:00
Jakub Jirutka
2e3236ccde
Export package version from the index module
2019-10-07 15:17:09 +02:00
Jakub Jirutka
393e961221
Use ttypescript for TS transpilation
2019-10-07 15:13:35 +02:00
Jakub Jirutka
4e4f16a1ba
Add clean script
2019-10-03 02:17:56 +02:00
Jakub Jirutka
610a6c4cbe
Generate and include type declarations in the package
...
It seems that this is needed for consumers of the package.
2019-10-03 02:17:56 +02:00
Jakub Jirutka
0394738a35
Replace eslint-import-resolver-typescript with eslint-import-resolver-ts
...
The former doesn't support multiple tsconfig.json and as I found out
now, some rules didn't work with it at all.
2019-10-03 02:17:56 +02:00
Jakub Jirutka
a89fad58cf
Enable ESLint for tests and update rules overrides
2019-10-03 02:17:55 +02:00
Jakub Jirutka
7b90320c49
Fix code-style: Don't use template literals without placeholders
2019-10-02 02:18:58 +02:00
Jakub Jirutka
48f089c6d7
Use RegExp#exec instead of String#match where possible
...
See https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-regexp-exec.md
2019-10-02 02:18:49 +02:00
Jakub Jirutka
909d01e732
Bump eslint packages to the latest versions and update rules
2019-10-02 02:18:49 +02:00
Jakub Jirutka
fd653f08de
Fix code-style: Remove unnecessary type annotation
2019-10-02 02:18:44 +02:00
Jakub Jirutka
db98cb4f74
Generalize renderer
2019-10-01 13:22:42 +02:00
Jakub Jirutka
0dd5a9ee53
Generalize elementCreator
2019-10-01 13:22:41 +02:00
Jakub Jirutka
ec70c7713e
Don't export HTMLElement from elementCreator module
2019-10-01 13:18:26 +02:00
Jakub Jirutka
782fc305e7
Set class using setAttribute() instead of className
...
To minimalize used HTMLElement's API surface.
2019-10-01 13:18:13 +02:00
Jakub Jirutka
34ab834a6d
Bump nodom to ^2.4.0
2019-09-30 17:23:42 +02:00
Jakub Jirutka
1e0126fc48
Release version 0.1.0-beta.4
2019-09-29 02:10:42 +02:00
Jakub Jirutka
a9a38c4419
Use JSX in renderer tests
2019-09-29 02:05:44 +02:00
Jakub Jirutka
e7d8cfa193
Add Jest matcher toMatchElement()
2019-09-29 02:04:50 +02:00
Jakub Jirutka
5dcada84dd
Add JSX support for tests
2019-09-29 02:03:02 +02:00
Jakub Jirutka
f4bca35e80
Add tests for renderer module
2019-09-29 02:03:01 +02:00
Jakub Jirutka
1416f80634
Improve matcher toHtmlEqual() to support array of elements
2019-09-29 02:02:14 +02:00
Jakub Jirutka
ac53ba2541
Refactor internal/utils.test to utilize jest-chain
2019-09-29 02:02:14 +02:00
Jakub Jirutka
3a46203257
Add jest-chain
2019-09-29 02:02:14 +02:00
Jakub Jirutka
1c91dcf9f3
Load test/setup.ts implicitly
2019-09-29 02:02:14 +02:00
Jakub Jirutka
35ba8cc87f
Handle empty cell.source in CodeCell() instead of Source()
2019-09-29 02:02:06 +02:00
Jakub Jirutka
f5e5006e04
Don't return undefined in executionCountAttrs()
2019-09-28 16:04:51 +02:00
Jakub Jirutka
21044fe8a2
Remove fallback to notebook.metadata.kernelspec.language
...
nbformat 4.x defines only `notebook.metadata.language_info.name` for the
notebook language. `notebook.metadata.kernelspec.language` is
non-standard, probably from some older nbformat version. It just
increases complexity for testing, so get rid of it.
2019-09-28 15:19:54 +02:00
Jakub Jirutka
7718f4b606
Change buildRenderer() to accept elementCreator as first argument
2019-09-28 15:19:53 +02:00