-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to 'markdown-it-task-checkbox' for rendering of task lists #3898
Conversation
Signed-off-by: q-wertz <clemens.sonnleitner@web.de>
Tested and works and the library also seem sane to use, thanks a lot for this 👍 |
Can you maybe also push the package-lock.json updates after running |
👍 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>
/backport to stable24 |
The backport to stable24 failed. Please do this backport manually. |
Is this also backported to NC 23? |
Is there any information when this will be in any stable version? 😅 |
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-checkbox
instead ofmarkdown-it-task-lists
.markdown-it-task-lists
are needed. I tried to get the same classnames forulClass
andliClass
but e.g. theenabled
class 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