Commit graph

94 commits

Author SHA1 Message Date
Philip Molares
f0fe7f5ac2
added e2e tests (#298)
- added e2e tests for
  - banner
  - history
  - intro
  - language
  - link
- added e2e workflow
- added cypress badge to README
2020-07-16 11:22:53 +02:00
renovate[bot]
1a5d4f6db8
Update dependency react-bootstrap to v1.2.1 (#320)
* Update dependency react-bootstrap to v1.2.1

* Fixed sort-button event name

With the upgrade to Bootstrap-React 1.2.1 the ButtonProps extend now React.HTMLAttributes which in favor extends the DOMAttributes interface. This interface defines almost every possible attribute for DOM-/HTML-elements.

Our SortButtonProps interface introduced an onChange event handler with a type matching our condition. With the BS-React upgrade the onChange event must not be redefined/overriden with this type and therefore I renamed it.

* updated react-bootstrap to 1.2.2

* fixed wrong prop name in HistoryToolbar

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2020-07-15 23:34:34 +02:00
renovate[bot]
12bd76a8c1
Update dependency @testing-library/react to v10.4.5 (#318)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-12 01:18:49 +02:00
renovate[bot]
a0db095088
Update typescript-eslint monorepo to v3.6.0 (#321)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-12 01:13:02 +02:00
renovate[bot]
41670a3daa
Update dependency i18next to v19.6.0 (#319)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-12 01:09:52 +02:00
renovate[bot]
85c3e0b739
Update definitelyTyped (#317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-11 23:43:12 +02:00
renovate[bot]
079264bb72
Update dependency i18next-http-backend to v1.0.16 (#307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:40:36 +02:00
renovate[bot]
b1199e726f
Update dependency i18next to v19.5.4 (#306)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:38:49 +02:00
renovate[bot]
74cecfc1e9
Update dependency eslint-plugin-flowtype to v5.2.0 (#305)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:38:11 +02:00
renovate[bot]
949337e1bc
Update dependency typescript to v3.9.6 (#308)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:26:40 +02:00
renovate[bot]
fb008c0634
Update typescript-eslint monorepo to v3.5.0 (#309)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 03:22:19 +02:00
mrdrogdrog
50b04c8403
Add toc sidebar+dropdown (#272)
* Replace markdown-it-table-of-contents with markdown-it-toc-done-right

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>

Extract render window code

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>

add new package

fix stickyness

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

show toc sidebar only if there is enough space

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

* add min height class

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

* Move markdown toc into own component

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

* add sidebar buttons

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

* Use other button color

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

* Change name of component

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

* Fix merge issues and make toc work again

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

* pin dependencies

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

* remove blank line

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

* pin dependency

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

* Fix anchors

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

* Add use memo

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

* Add change log entry for removal of custom slugify
2020-06-29 17:51:40 +02:00
renovate[bot]
17102d7d44
Update JS test packages (#296)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 11:55:27 +02:00
renovate[bot]
fe8a5ed4d2
Update dependency eslint-plugin-import to v2.22.0 (#295)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 11:53:58 +02:00
renovate[bot]
0c078d6d62
Update dependency codemirror to v5.55.0 (#289)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:20:10 +02:00
renovate[bot]
6a7d077f02
Update typescript-eslint monorepo to v3.4.0 (#292)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:14:33 +02:00
renovate[bot]
a3f5513167
Update dependency i18next to v19.5.1 (#290)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:12:38 +02:00
renovate[bot]
63ae582099
Update definitelyTyped (#285)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:07:18 +02:00
renovate[bot]
c29be50ce9
Update dependency react-bootstrap-typeahead to v5.1.0 (#291)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 03:06:50 +02:00
renovate[bot]
a501bbcd65
Pin dependencies (#284)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-27 02:45:45 +02:00
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