jashkenas / jashkenas/docco

Indents for list items not rendering from .md input file

Open
#409 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
3.6k
Forks
559
PR merge metrics
No merged PRs in 30d

Description

Docco 0.8.0

Given a .md input file with:
````
-.List
....-.item1
....-.item2
````
docco renders
````


  • List

  • item1

  • item2


````
The indents are not rendering (tried with ..- and ....-).

However, given a .js input file with:
````
//-.List
//....-.item1
//....-.item2
````
docco renders:
````


  • List

    • item1

    • item2




````
indents render just fine.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the shown .md and .js inputs and compare their generated HTML. Trace the Markdown list-rendering path and make the Markdown output preserve the nested list structure already produced for the JavaScript input; done when indented Markdown items render as nested

    elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.