Commit graph

72 commits

Author SHA1 Message Date
Erik Michelson
6bf214542e
Added image resizing support via markdown-it-imsize (#262) 2020-06-23 21:44:16 +02:00
Philip Molares
8133d565cf
added mathjax (#250)
added markdown-it-mathjax

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-23 00:38:06 +02:00
mrdrogdrog
e03da3bd76
Feature/highlightjs (#242)
* Add highlighting for code blocks

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-22 22:39:14 +02:00
Erik Michelson
fd378cf89b
Added TOC and anchors for headings (#243)
* Added TOC support and anchors for headings

* Moved @types/markdown-it-anchor from devDependencies to dependencies

* Add subnode renderer

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Added node-replacer for toc generation

ul lists may not be nested inside a p element. Therefore replaces this replacer every p that has a div.table-of-contents inside of it with the div directly.

* Add index to replacer function

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Add TOC to example code

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Remove unused import

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Removed unnecessary div wrapper of toc

* Fixed toc-renderer

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-21 14:04:37 +02:00
Renovate Bot
2d4ecf6527 Pin dependencies 2020-06-20 21:09:23 +02:00
Philip Molares
ab2a73c6a8 added support for markdown-it-footnote
this makes it possible to use footnotes
2020-06-20 20:26:27 +02:00
mrdrogdrog
2c81b746aa
Add Alerts (#234)
* Add alert banners

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-20 20:17:33 +02:00
Philip Molares
4852727f92
added support for markdown-it-abbr (#238)
this makes it possible to use abbreviations like these
```
*[HTML]: Hyper Text Markup Language
*[W3C]:  World Wide Web Consortium
The HTML specification
is maintained by the W3C.
```

Co-authored-by: Philip Molares <philip@mauricedoepke.de>
2020-06-20 19:29:46 +02:00
Philip Molares
09c21e4334
added support for markdown-it-deflist (#240)
this makes it possible to use definition lists like
```
Term 1

:   Definition 1
with lazy continuation.

Term 2 with *inline markup*

:   Definition 2

        { some code, part of Definition 2 }

    Third paragraph of definition 2.

_Compact style:_

Term 1
  ~ Definition 1

Term 2
  ~ Definition 2a
  ~ Definition 2b
```

Co-authored-by: Philip Molares <philip@mauricedoepke.de>
2020-06-20 19:25:31 +02:00
Philip Molares
7ea5a6a221 added plugins
added the plugins:
 - markdown-it-mark
 - markdown-it-ins
 - markdown-it-sub
 - markdown-it-sup
2020-06-20 12:52:03 +02:00
Renovate Bot
6017dab038 Update dependency @testing-library/user-event to v12 2020-06-20 12:18:17 +02:00
Renovate Bot
ae0e941c2f Pin dependency github-markdown-css to 4.0.0 2020-06-20 12:12:13 +02:00
renovate[bot]
7ed58e9617
Update dependency i18next-browser-languagedetector to v5 (#230)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 12:08:08 +02:00
renovate[bot]
7961028bfa
Update dependency i18next-browser-languagedetector to v4.3.1 (#225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Philip Molares <git@molar.es>
2020-06-20 11:58:39 +02:00
Renovate Bot
82db469408 Update dependency react-i18next to v11.7.0 2020-06-20 11:53:48 +02:00
Renovate Bot
7a01f0ce96 Update typescript-eslint monorepo to v3.3.0 2020-06-20 11:51:41 +02:00
Renovate Bot
4404e2034c Update dependency moment to v2.27.0 2020-06-20 11:49:47 +02:00
Renovate Bot
98469dcef0 Update dependency i18next to v19.5.0 2020-06-20 11:32:51 +02:00
Renovate Bot
41f630e004 Update dependency eslint-plugin-jsx-a11y to v6.3.1 2020-06-20 11:31:35 +02:00
renovate[bot]
580a7b17dc
Update dependency @testing-library/react to v10.3.0 (#221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:22:49 +02:00
renovate[bot]
9614303091
Update dependency @testing-library/jest-dom to v5.10.1 (#220)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:17:51 +02:00
renovate[bot]
bb270c1c38
Update dependency @types/react to v16.9.38 (#222)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:16:41 +02:00
renovate[bot]
450bdbfaee
Pin dependencies (#219)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:15:03 +02:00
mrdrogdrog
7189a63618
Basic markdown renderer (#197)
* Add basic markdown it rendering
* Add markdown preview
* Add embedings for vimeo, youtube, gist
* Add support for legacy shortcodes and link detection
* Set "both" as editor default
* Add markdown-it-task-lists
* Add twemoji
* Changed SlideShare short-code behaviour from embedding to generating a link
* Extract markdown it parser debugger into separate component
* Deactivate markdown it linkify for now
* Add link safety attributes
* Add one-click-embedding component and use it
* Added embedding changes and deprecations to CHANGELOG.md

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-06-20 00:44:18 +02:00
renovate[bot]
6f07490f61
Update dependency react-codemirror2 to v7.2.1 (#205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-13 09:51:57 +02:00
renovate[bot]
3c9d51ffae
Update dependency react-i18next to v11.5.1 (#206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-13 09:44:48 +02:00
renovate[bot]
25b9ea4dfc
Update dependency @types/codemirror to v0.0.96 (#204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-13 09:39:06 +02:00
mrdrogdrog
f298d1469b
Add editor split component (#198)
Add split and split divider component
2020-06-13 01:22:27 +02:00
Renovate Bot
ed52ffb72f Update dependency @testing-library/user-event to v11.4.2 2020-06-11 20:56:48 +02:00
renovate[bot]
e887dbb9d0
Pin dependencies (#195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 20:35:07 +02:00
mrdrogdrog
46d68c3ab5
Add basic codemirror (#96)
* started work on codemirror integration
2020-06-11 20:14:40 +02:00
renovate[bot]
e9c16872d4
Update dependency @testing-library/jest-dom to v5.10.0 (#191)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 17:42:32 +02:00
renovate[bot]
93f0c4913d
Update dependency @testing-library/user-event to v11.4.1 (#187)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 10:17:52 +02:00
renovate[bot]
5cdc2447b8
Update dependency @types/react to v16.9.36 (#186)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 13:57:40 +02:00
renovate[bot]
4a963b9dad
Update dependency @testing-library/user-event to v11.4.0 (#185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 10:45:01 +02:00
renovate[bot]
df99c143d5
Update dependency eslint-plugin-import to v2.21.2 (#184)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 10:44:36 +02:00
renovate[bot]
2995a3cc3b
Update dependency @types/node to v12.12.47 (#183)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 23:40:56 +02:00
Renovate Bot
107a8eeaaf Update dependency @types/node to v12.12.46 2020-06-09 19:27:38 +02:00
Renovate Bot
254b4ddc61 Update dependency @types/jest to v26 2020-06-09 19:22:55 +02:00
renovate[bot]
ca03370ac2
Update dependency @testing-library/user-event to v11.3.2 (#180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 15:34:00 +02:00
renovate[bot]
29bbe00284
Update dependency @types/node to v12.12.45 (#179)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 23:50:45 +02:00
Renovate Bot
235b24b49c Update dependency @testing-library/user-event to v11.3.1 2020-06-08 21:03:46 +02:00
Renovate Bot
bdfff979ca Update dependency @typescript-eslint/eslint-plugin to v3.2.0 2020-06-08 21:02:16 +02:00
Renovate Bot
8b1ef6c668 Update dependency @typescript-eslint/parser to v3.2.0 2020-06-08 19:43:28 +02:00
dependabot[bot]
20807eaf56 Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 09:52:36 +02:00
Renovate Bot
e456de2d6e Update dependency eslint-plugin-import to v2.21.1 2020-06-08 09:51:16 +02:00
renovate[bot]
1c2dd630d9
Update dependency @testing-library/react to v10.2.1 (#160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-05 21:57:33 +02:00
Renovate Bot
9212bae9ea Update dependency @testing-library/user-event to v11.2.1 2020-06-05 20:47:17 +02:00
Renovate Bot
c56430a6a6 Update dependency @testing-library/user-event to v11.2.0 2020-06-05 15:34:31 +02:00
Renovate Bot
59f3cb59e3 Update dependency @testing-library/jest-dom to v5 2020-06-05 11:55:13 +02:00