Commit graph

  • 3919b16d7d Rename hjs to hljs (highlight.js) Jakub Jirutka 2019-10-13 23:39:54 +0200
  • 00ea724910 Pass provided katexOpts even to htmlRenderer and centralize defaults Jakub Jirutka 2019-10-13 20:48:24 +0200
  • 35eb180fe9 Add ts-transformer-export-default-name Jakub Jirutka 2019-10-13 14:23:15 +0200
  • b54d86c3a4 Bump anser to ^1.4.9 Jakub Jirutka 2019-10-13 14:18:01 +0200
  • ffaec46e59 Readme: Change clone address to https:// Jakub Jirutka 2019-10-08 00:20:00 +0200
  • 2e3236ccde Export package version from the index module Jakub Jirutka 2019-10-07 15:17:09 +0200
  • 393e961221 Use ttypescript for TS transpilation Jakub Jirutka 2019-10-07 12:43:17 +0200
  • 4e4f16a1ba Add clean script Jakub Jirutka 2019-10-02 22:52:55 +0200
  • 610a6c4cbe Generate and include type declarations in the package Jakub Jirutka 2019-10-02 21:26:56 +0200
  • 0394738a35 Replace eslint-import-resolver-typescript with eslint-import-resolver-ts Jakub Jirutka 2019-10-02 17:27:46 +0200
  • a89fad58cf Enable ESLint for tests and update rules overrides Jakub Jirutka 2019-10-02 02:05:37 +0200
  • 7b90320c49 Fix code-style: Don't use template literals without placeholders Jakub Jirutka 2019-10-02 02:00:50 +0200
  • 48f089c6d7 Use RegExp#exec instead of String#match where possible Jakub Jirutka 2019-10-02 01:45:10 +0200
  • 909d01e732 Bump eslint packages to the latest versions and update rules Jakub Jirutka 2019-10-02 01:27:39 +0200
  • fd653f08de Fix code-style: Remove unnecessary type annotation Jakub Jirutka 2019-10-02 01:42:44 +0200
  • db98cb4f74 Generalize renderer Jakub Jirutka 2019-09-29 21:51:01 +0200
  • 0dd5a9ee53 Generalize elementCreator Jakub Jirutka 2019-09-29 17:31:43 +0200
  • ec70c7713e Don't export HTMLElement from elementCreator module Jakub Jirutka 2019-09-29 17:22:26 +0200
  • 782fc305e7 Set class using setAttribute() instead of className Jakub Jirutka 2019-09-30 17:26:00 +0200
  • 34ab834a6d Bump nodom to ^2.4.0 Jakub Jirutka 2019-09-30 17:20:28 +0200
  • 1e0126fc48 Release version 0.1.0-beta.4 v0.1.0-beta.4 Jakub Jirutka 2019-09-29 02:10:42 +0200
  • a9a38c4419 Use JSX in renderer tests Jakub Jirutka 2019-09-29 02:05:44 +0200
  • e7d8cfa193 Add Jest matcher toMatchElement() Jakub Jirutka 2019-09-28 03:08:44 +0200
  • 5dcada84dd Add JSX support for tests Jakub Jirutka 2019-09-28 00:37:24 +0200
  • f4bca35e80 Add tests for renderer module Jakub Jirutka 2019-09-27 03:10:11 +0200
  • 1416f80634 Improve matcher toHtmlEqual() to support array of elements Jakub Jirutka 2019-09-27 03:09:14 +0200
  • ac53ba2541 Refactor internal/utils.test to utilize jest-chain Jakub Jirutka 2019-09-27 15:30:55 +0200
  • 3a46203257 Add jest-chain Jakub Jirutka 2019-09-27 15:27:27 +0200
  • 1c91dcf9f3 Load test/setup.ts implicitly Jakub Jirutka 2019-09-27 15:25:10 +0200
  • 35ba8cc87f Handle empty cell.source in CodeCell() instead of Source() Jakub Jirutka 2019-09-28 22:51:45 +0200
  • f5e5006e04 Don't return undefined in executionCountAttrs() Jakub Jirutka 2019-09-28 16:04:51 +0200
  • 21044fe8a2 Remove fallback to notebook.metadata.kernelspec.language Jakub Jirutka 2019-09-27 22:16:54 +0200
  • 7718f4b606 Change buildRenderer() to accept elementCreator as first argument Jakub Jirutka 2019-09-27 20:44:53 +0200
  • 196b37827f Disable ESLint rule consistent-type-definitions Jakub Jirutka 2019-09-28 01:03:25 +0200
  • 85875d7663 Fix code-style in readNotebookTitle.test Jakub Jirutka 2019-09-27 14:53:54 +0200
  • 17390b1e9d Bump nodom to ^2.3.0 Jakub Jirutka 2019-09-27 12:27:29 +0200
  • ecce6b8485 Move module utils to directory internal Jakub Jirutka 2019-09-26 18:17:51 +0200
  • 8771eff957 Fix attribute classes on Source's code element, should be class Jakub Jirutka 2019-09-25 20:33:27 +0200
  • a981901940 Fix argument type of embeddedImageEl() Jakub Jirutka 2019-09-25 16:10:39 +0200
  • 9c19c9f340 Add type MultilineString to nbformat Jakub Jirutka 2019-09-25 16:08:33 +0200
  • 7963bc442b Handle unsupported Cell and Output types Jakub Jirutka 2019-09-25 16:02:21 +0200
  • 3d2e312e4b Add type MimeBundle to nbformat Jakub Jirutka 2019-09-25 14:35:54 +0200
  • 0a4f4a09a3 Fix mathExtractor to recognize inline code with line breaks Jakub Jirutka 2019-09-24 01:36:54 +0200
  • 53dfd524e0 Use non-capturing groups inside regexps in mathExtractor Jakub Jirutka 2019-09-24 01:16:11 +0200
  • 05d38601c1 Add tests for mathExtractor Jakub Jirutka 2019-09-24 00:17:12 +0200
  • 5193f92ed2 Trim leading/trailing whitespaces in MathExpression.value Jakub Jirutka 2019-09-23 17:40:16 +0200
  • 9c18c74085 Release version v0.1.0-beta.3 v0.1.0-beta.3 Jakub Jirutka 2019-09-22 23:29:10 +0200
  • 36131b9ed2 Add workaround for SageMath latex outputs Jakub Jirutka 2019-09-17 01:41:49 +0200
  • 20f4dec62c Release version 0.1.0-beta.2 v0.1.0-beta.2 Jakub Jirutka 2019-09-20 18:17:28 +0200
  • 745346150e Add module readNotebookTitle Jakub Jirutka 2019-09-18 13:53:07 +0200
  • 526a7b51ea Fix wrong type of Notebook.nbformat Jakub Jirutka 2019-09-18 13:18:00 +0200
  • 1d4dd89b21 Release version 0.1.0-beta.1 v0.1.0-beta.1 Jakub Jirutka 2019-09-18 00:00:05 +0200
  • cee6f20158 Replace ansi_up with anser Jakub Jirutka 2019-09-17 23:53:04 +0200
  • a944bf2d27 Pre-configure renderer with all external components Jakub Jirutka 2019-09-17 23:49:21 +0200
  • 030b4297ba Add markdownRenderer with marked, katex and highlight.js Jakub Jirutka 2019-09-17 23:43:14 +0200
  • 457e1716d9 mathExtractor: Escape marker-like sequences instead of returning them Jakub Jirutka 2019-09-17 22:36:32 +0200
  • 34cf2c4620 Replace if-else-if statements with switch statement Jakub Jirutka 2019-09-17 00:26:27 +0200
  • 86754fbd98 Reformat comments on renderer.Options Jakub Jirutka 2019-09-16 23:12:16 +0200
  • ca9bae9483 Don't escape math that will be passed to math renderer Jakub Jirutka 2019-09-17 12:31:37 +0200
  • 18a7a512cc Don't escape text passed to codeHighlighter Jakub Jirutka 2019-09-16 23:07:51 +0200
  • e8ed255646 Don't escape text passed to ansiCodeRenderer Jakub Jirutka 2019-09-16 23:02:02 +0200
  • 431fb1331d CI: Add API Key for npm Jakub Jirutka 2019-09-15 20:45:29 +0200
  • 016fae6eb8 mathExtractor: Parse extracted delimited expressions Jakub Jirutka 2019-09-14 21:33:55 +0200
  • cd11e47f54 mathExtractor: Improve docs and function names Jakub Jirutka 2019-09-14 20:27:56 +0200
  • 327856497c mathExtractor: Don't modify delimiters in replaceMath() Jakub Jirutka 2019-09-14 19:51:23 +0200
  • 4e15e76573 mathExtractor: Modernize and refactor Jakub Jirutka 2019-09-14 16:03:05 +0200
  • 443603dd4f mathExtractor: Convert to TypeScript Jakub Jirutka 2019-09-14 15:18:44 +0200
  • 464a0b24de mathExtractor: Remove unnecessary escapes in regexps Jakub Jirutka 2019-09-14 14:55:59 +0200
  • aa3b063413 mathExtractor: Change under_score names to camelCase Jakub Jirutka 2019-09-14 14:13:39 +0200
  • 92e00f7df8 mathExtractor: Fix code-style Jakub Jirutka 2019-09-14 14:08:59 +0200
  • fceb1f8e23 Import math extractor utils from jupyter/notebook repository Jakub Jirutka 2019-09-14 13:59:42 +0200
  • 9ee9575eae Remove mathRenderer option Jakub Jirutka 2019-09-14 18:45:16 +0200
  • 61c3b5feab Fix escapeHTML() to escape even "&" and refactor it Jakub Jirutka 2019-09-13 22:07:53 +0200
  • f19a70416e Completely refactor renderer and add tests for utils Jakub Jirutka 2019-09-12 17:19:49 +0200
  • 9775f6f3bd Rename index.ts to renderer.ts Jakub Jirutka 2019-09-12 18:54:36 +0200
  • eb55e17525 Rename makeElement() to el() Jakub Jirutka 2019-09-12 17:16:43 +0200
  • 34195169a6 Sort display renderers by priority and refactor text/svg+xml alias Jakub Jirutka 2019-09-12 01:01:27 +0200
  • 9d07316d71 Move katex config out of renderer function Jakub Jirutka 2019-09-12 00:34:46 +0200
  • b736cb1ff2 Don't code-highlight Stream and Error outputs Jakub Jirutka 2019-09-16 22:09:04 +0200
  • 30acfa337a Don't pass elements to highlighter Jakub Jirutka 2019-09-11 00:46:08 +0200
  • f332972ec0 Minimize calling DOM methods in render functions Jakub Jirutka 2019-09-10 19:24:47 +0200
  • a3ba8bb60b Replace bloated jsdom with nodom Jakub Jirutka 2019-09-09 22:11:37 +0200
  • 2668ccd23d Don't import marked and ansi_up, let user provide them Jakub Jirutka 2019-09-09 14:49:46 +0200
  • aab1c75272 Import nbformat types without namespace Jakub Jirutka 2019-09-09 12:08:14 +0200
  • cd4313f298 Rewrite classes to pure functions Jakub Jirutka 2019-09-07 20:05:17 +0200
  • 4e8c683ec3 DRY usage of joinText() Jakub Jirutka 2019-09-08 12:57:44 +0200
  • 80099e328f Simplify creating of new element Jakub Jirutka 2019-09-07 17:33:21 +0200
  • 9b4e0ed0cf Convert to TypeScript (with type errors for now) Jakub Jirutka 2019-09-07 15:49:02 +0200
  • 0977d6b097 Add types for nbformat v4.3 Jakub Jirutka 2019-09-07 15:21:09 +0200
  • a495bdfc13 Remove compat. with nbformat <4.0: worksheets Jakub Jirutka 2019-09-07 14:07:36 +0200
  • 5c661af4b8 Remove compat. with nbformat <4.0: error Jakub Jirutka 2019-09-07 13:50:48 +0200
  • c982a7db3f Remove compat. with nbformat <4.0: execute_result Jakub Jirutka 2019-09-07 13:49:37 +0200
  • acbb3ca3cb Remove compat. with nbformat <4.0: display_data Jakub Jirutka 2019-09-07 13:46:36 +0200
  • dbfe5b500b Remove compat. with nbformat <4.0: stream output Jakub Jirutka 2019-09-07 13:37:16 +0200
  • 467e5218c1 Remove compat. with nbformat <4.0: code cell Jakub Jirutka 2019-09-07 13:28:22 +0200
  • 6a3daeb30c Remove compat. with nbformat <4.0: markdown heading cell Jakub Jirutka 2019-09-07 13:23:43 +0200
  • 613580d0b9 First refactoring Jakub Jirutka 2019-09-06 00:36:14 +0200
  • 983629aaa2 Convert CommonJS to ES modules Jakub Jirutka 2019-09-06 00:22:43 +0200
  • d3b3bddf51 Use ES6 classes Jakub Jirutka 2019-09-05 22:12:38 +0200
  • 3fcddfb836 Fix variable names to camelCase Jakub Jirutka 2019-09-05 22:00:59 +0200