groc icon indicating copy to clipboard operation
groc copied to clipboard

Enumerations in comments don't work properly

Open juristr opened this issue 11 years ago • 1 comments

It seems like enumerations don't work properly when there is a paragraph before. I used this test file

// # Enumeration Tests
//
// ## I work!
//
// ### Unordered lists
//
// - Item 1
// - Item 2
// - Item 3
//
// ### Ordered Lists
//
// 1. Item 1
// 1. Item 2
// 1. Item 3

// ## I don't work?!!
//
// Why? Because it seems that if you place a normal paragraph before an enumerations that enumeration isn't
// recognized properly...
//
// - Enum 1
// - Enum 2

which produces the wrong output (as can be seen in the attached screenshot). image

juristr avatar Aug 22 '13 08:08 juristr

I did some research, but did not have time to solve it yet. My findings:

The examples that work create separate sections for headline and enumeration. The example that does not work has paragraph and enumeration collapsed into one section.

:+1: for anybody who has time to solve this problem …

sjorek avatar Sep 12 '13 07:09 sjorek