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
Our target documents contain large amounts of lists with indented list items, but this project is unable to spot them and convert them appropriately. Detect such lists and output the corresponding markdown
The text was updated successfully, but these errors were encountered:
The approach I have in mind is to first detect indented list items like "Eintrag 1.2" and "3ter Level 1.1.2, aber mit so langem Text". Extract the number out like "1.2" and "1.1.2" respectively. Then add spaces in front of the dash from "- Eintrag 1.2" depending on how many children items there are.
What do you think? Do you think that would suffice?
You shouldn't have to rely on content within the list item to figure out if something is to be indented, so don't extract numbers out. Try instead to work out the relative position between list items to figure out if something is being indented.
Our target documents contain large amounts of lists with indented list items, but this project is unable to spot them and convert them appropriately. Detect such lists and output the corresponding markdown
The text was updated successfully, but these errors were encountered: