https://bugs.kde.org/show_bug.cgi?id=496464

Louis Schul <schul9lo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WAITINGFORINFO              |NOT A BUG
             Status|NEEDSINFO                   |RESOLVED

--- Comment #4 from Louis Schul <schul9lo...@gmail.com> ---
(In reply to agilob from comment #3)

I don't see any strikethrough here, only subscript text, as expected...

However the sample text you gave me reveal the true issue. KleverNotes parser
work as expected considering text between `-` inside the SAME LINE of text to
be subscript, it is part of KleverNotes extended syntax.


Why am I talking about the "SAME LINE" when you're clearly trying to make a
list ?

Well, while the text you enter looks like a list, it is not considered to be
one by the CommonMark standard.
A numbered list follow this syntax: `<number>. <text>` , nothing else. 
In your case, you sometimes have `<number>.<number>. <text>` or things like
that, it is not valid and will be considered as a regular text.

I can understand that it can be annoying, but it is what it is, the spec is
like that.
I had a similar issue in the past for one of my class, the workaround I used is
putting the items inside an unordered list:
```
- 1. Java memory regions
- 1.1. generally split into heap and non-heap areas
- 1.2 JVM native memory
- 1.2.1 +XX:NativeMemoryTracking=summary
- 1.2.2 stacks, direct-buffers,
```

It's not perfect but it works.

I hope I was able to help !

Interresting links:
Example of strikethrough text:
https://en.wikipedia.org/wiki/Strikethrough#/media/File:Striked_out_text.png
Example of subscript text:
https://en.wikipedia.org/wiki/Subscript_and_superscript#/media/File:Subscript_superscript_expert.png
CommonMark spec for list: https://spec.commonmark.org/0.26/#lists
Website to test the CommonMark spec: https://spec.commonmark.org/dingus/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to