Switch to 'markdown-it-task-checkbox' for rendering of task lists#3898
Merged
juliusknorr merged 3 commits intonextcloud:masterfrom Jul 5, 2022
q-wertz:master
Merged
Switch to 'markdown-it-task-checkbox' for rendering of task lists#3898juliusknorr merged 3 commits intonextcloud:masterfrom q-wertz:master
juliusknorr merged 3 commits intonextcloud:masterfrom
q-wertz:master
Conversation
Signed-off-by: q-wertz <clemens.sonnleitner@web.de>
Member
|
Tested and works and the library also seem sane to use, thanks a lot for this 👍 |
juliusknorr
approved these changes
Jul 5, 2022
Member
|
Can you maybe also push the package-lock.json updates after running |
Contributor
Author
|
👍 There were quite some warnings and the $ npm install --save markdown-it-task-checkbox
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'deck@1.8.0-beta.0',
npm WARN EBADENGINE required: { node: '^14.0.0', npm: '^7.0.0' },
npm WARN EBADENGINE current: { node: 'v18.3.0', npm: '8.6.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@nextcloud/axios@1.10.0',
npm WARN EBADENGINE required: { node: '^14', npm: '^7' },
npm WARN EBADENGINE current: { node: 'v18.3.0', npm: '8.6.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@nextcloud/eslint-config@8.0.0',
npm WARN EBADENGINE required: { node: '^14.0.0', npm: '^7.0.0' },
npm WARN EBADENGINE current: { node: 'v18.3.0', npm: '8.6.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@nextcloud/stylelint-config@2.1.2',
npm WARN EBADENGINE required: { node: '^14.0.0', npm: '^7.0.0' },
npm WARN EBADENGINE current: { node: 'v18.3.0', npm: '8.6.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@nextcloud/vue@5.3.1',
npm WARN EBADENGINE required: { node: '^14.0.0', npm: '^7.0.0' },
npm WARN EBADENGINE current: { node: 'v18.3.0', npm: '8.6.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@nextcloud/webpack-vue-config@5.1.0',
npm WARN EBADENGINE required: { node: '^14.0.0', npm: '^7.0.0' },
npm WARN EBADENGINE current: { node: 'v18.3.0', npm: '8.6.0' }
npm WARN EBADENGINE }
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
added 1609 packages, and audited 1610 packages in 47s
208 packages are looking for funding
run `npm fund` for details
13 vulnerabilities (3 moderate, 10 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details. |
Signed-off-by: q-wertz <clemens.sonnleitner@web.de>
Member
|
/backport to stable24 |
|
The backport to stable24 failed. Please do this backport manually. |
Contributor
Author
|
Is this also backported to NC 23? |
This was referenced Jul 19, 2022
Contributor
Author
|
Is there any information when this will be in any stable version? 😅 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: q-wertz clemens.sonnleitner@web.de
Summary
As suggested by @https://github.com/hrk I gave it a shot and tried to use the library
markdown-it-task-checkboxinstead ofmarkdown-it-task-lists.markdown-it-task-listsare needed. I tried to get the same classnames forulClassandliClassbut e.g. theenabledclass to the<li>elements (which has been introduced with v2.0.0 ofmarkdown-it-task-lists) cannot be set (but did not find any references in the Deck app which seem to require this).TODO
Checklist