You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I add 'task_list' option, and the html performed like this:
task list item
but the github task list item performed like this:
task list item
never mind that I used the wrong markdown syntax to show the result, for I can not insert the image.
I found the html converted by markdown2 is like blow:
and it will be format with the "checked" status and the real text after "- [ ]" or "- [x]", but the above html code can not performed like github, because the task list items at github do not have the list leader, while the list items of above html will have.
I want to make it perform like github, but the generate rule does not leave me any space to make me write the class selector to modify the performance of the items of task list. So I think why not change the generate style to make it performed like github like below:
return"<li class='task-list-item'>%s</li>\n" % item//line 1689 at markdown2.py
So I can write class selector to make it perform like github.
I add 'task_list' option, and the html performed like this:
but the github task list item performed like this:
never mind that I used the wrong markdown syntax to show the result, for I can not insert the image.
I found the html converted by markdown2 is like blow:
and it will be format with the "checked" status and the real text after "- [ ]" or "- [x]", but the above html code can not performed like github, because the task list items at github do not have the list leader, while the list items of above html will have.
I want to make it perform like github, but the generate rule does not leave me any space to make me write the class selector to modify the performance of the items of task list. So I think why not change the generate style to make it performed like github like below:
So I can write class selector to make it perform like github.
or change like blow:
No need to write CSS handly.
The text was updated successfully, but these errors were encountered: