Commit Graph

28 Commits

Author SHA1 Message Date
Enrique Alcántara
6e25e99c7a
fix: Remove console.log statement (#2168)
Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-11-18 12:13:55 +01:00
Philipp Kühn
0f94bcd591 feat: add defaultLanguage option to CodeBlockLowlight extension, fix #2121 2021-11-05 14:00:44 +01:00
Philipp Kühn
9afadeb7fe
feat!: Replace defaultOptions with addOptions (#2088)
* add new addOptions option

* replace defaultOptions with addOptions for all extensions

* replace defaultOptions with addOptions for all demos

* replace defaultOptions with addOptions in docs

* refactoring

* refactoring

* drop object support for addOptions

* fix optional options

* fix tests
2021-10-26 18:31:13 +02:00
Philipp Kühn
78ef673fc7 fix lint error 2021-09-30 21:39:13 +02:00
philippkuehn
cf1e8ef184 ci: fix code style linting errors 2021-09-30 19:35:31 +00:00
MO
f79347e128
fix: compatibility with lowlight v2 (#1939) 2021-09-30 21:34:20 +02:00
Enrique Alcántara
54be0e570e
fix: Allow extending code-block-lowlight (#1917)
Use the extension name when initializing the
LowlightPlugin. In this way, several extensions
can make use of the same plugin

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-09-21 09:26:11 +02:00
Philipp Kühn
38f3601e6f Revert "feat: update lowlight to v2"
This reverts commit 7e96d98a21.
2021-06-03 21:20:36 +02:00
Philipp Kühn
c949fb6c7f remove log 2021-06-03 09:59:03 +02:00
Philipp Kühn
c8037b6c9d debug 2021-06-03 09:42:15 +02:00
Philipp Kühn
7e7af06806 add logging 2021-06-03 09:30:41 +02:00
Philipp Kühn
7e96d98a21 feat: update lowlight to v2 2021-05-31 20:49:42 +02:00
Philipp Kühn
185e1c40af refactor: remove ts-ignore 2021-05-13 15:02:22 +02:00
Philipp Kühn
bc35016728 wip: use parent for code bleock highlight extension 2021-04-15 22:15:07 +02:00
Philipp Kühn
c40ce34eec wip: add some hierarchy tests 2021-04-14 09:48:38 +02:00
Philipp Kühn
daa5dc0fb1 fix: fix lowlight decorations for vue 3 2021-04-12 16:20:49 +02:00
Philipp Kühn
5e1ec5d2a6 feat: add parentConfig to extension context for more extendable extensions, fix #259 2021-04-12 11:11:02 +02:00
Philipp Kühn
b48da13665 prevent empty decorations 2021-04-08 22:44:40 +02:00
Philipp Kühn
bd392ee8c2 remove languages option from codeblocklowlight 2021-04-08 22:13:50 +02:00
Philipp Kühn
65ef42a0b1 refactoring 2021-04-04 23:44:57 +02:00
Philipp Kühn
143e0204a3 refactoring 2021-04-04 23:41:44 +02:00
Philipp Kühn
25582c64cc add y.js support for codeblock extension 2021-04-03 12:34:27 +02:00
Philipp Kühn
6757813fd0 refactoring 2021-04-02 23:53:04 +02:00
Philipp Kühn
dd505d2773 refactoring 2021-04-02 23:40:52 +02:00
Philipp Kühn
c94264894b fix a big in highlighter 2021-04-02 23:02:05 +02:00
Philipp Kühn
74bd678e8b remove custom name for lowlight code block 2021-04-02 22:30:12 +02:00
Philipp Kühn
faa0ef8bfa check for language in highlighting 2021-04-02 22:21:17 +02:00
Philipp Kühn
7adf1853d7 add basic lowlight extension 2021-04-02 00:07:40 +02:00