Canop / Canop/termimad

Incorrect handling of list entry text

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
47
Avg merge
3d 16h
Merged PRs (30d)
1

Description

To add multiple lines of text to a list entry one should indent the text below the entry to signify that it belongs to it. This sign isn't currently looked for by termimad, so the text of a sub-list entry is highlighted as a codeblock (since it is indented 4 spaces).

Adding some statefulness to the printing, to track if printing indented lines after a list entry of which depth, would be a nice improvement.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how termimad prints Markdown list entries and indented lines, then reproduce the issue with a list entry followed by multiple indented lines. Done means continuation text remains part of the list entry instead of being highlighted as a code block.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, rust
Domain
cli, content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.