Skip to content

Tasklist seemingly not working #1022

Open
@GlitchDevX

Description

I believe that the tasklists are broken. In my project the input tags are missing inside the list elements.

Then I looked onto the demo page where I saw that the input elements are also missing
image
With this HTML generated:

<ul>
  <li class="task-list-item"> checked list item</li>
  <li class="task-list-item"> unchecked list item</li>
</ul>

Things I have tried already (in my project):

  • Using the newest version
  • Check if tasklists is set to true in the configuration
  • Set the flavor to github

This is the way I currently use it:

const converter = new showdown.Converter({ tables: true, tasklists: true });
converter.setFlavor('github');
const descriptionHtml = converter.makeHtml(
    this.description
);

Am I missing something or is it actually broken?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions