question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adjust tasklist HTML

See original GitHub issue

When converting Markdown to HTML, I would like to adjust the resulting HTML so that the <input type="checkbox"> is not disabled. Is it possible to plug into showdown.subParser('makehtml.lists', ...) in any way to accomplish this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tiviecommented, Oct 6, 2018

In version 2.0 you will have full control over the output of a subparser via templates (and other awesome goodies).

Right now you can:

  1. use a output extension to change the HTML generated OR…
  2. copy/paste the subparser source and re-register the subparser, making the changes as you see fit. https://jsfiddle.net/tivie/qeLrxzcn/

The second solution is faster but the first one is better

0reactions
asbjornucommented, Nov 6, 2018

Yep, that did the trick. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build a Todo list app in HTML, CSS & JavaScript in 2021
Learn how to build a todo list web app in HTML, CSS and JavaScript with the ability to display, create, edit and delete...
Read more >
Creating a better todo app - the HTML and CSS - YouTube
Watch part 2 where Kyle adds the JavaScript to make this work over on Web Dev Simplified: https://youtu.be/W7FaYfuwu70In this video, ...
Read more >
How To Create a To Do List - W3Schools
Create The To Do List. Step 1) Add HTML: ... Set all odd list items to a different color (zebra-stripes) */ ul li:nth-child(odd)...
Read more >
Making a ToDo List with HTML, CSS and Javascript - Medium
User can change the status of the items from undone to done or vice versa, just by clicking on them. Done items show...
Read more >
Bootstrap To Do List - free examples, templates & tutorial
Many tasklist templates, various variants of design and functionality. ... Task list and assignments; Set due date and assignments ... Adjust the components....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found