mludlum / MarkdownPreview

MantisBT plugin to preview markdown markup below textarea boxes on report and update forms.
0 stars 0 forks source link

Trying to use strikeout markdown with MantisBT #8

Closed ajtruckle closed 6 years ago

ajtruckle commented 6 years ago

So, I have this code for my note:

If we do implement this the list of assignments is now simpler I think:

* Prayer Open
* Prayer Close
* Chairman
* Auxiliary Classroom Counsellor
* Treasure from God Word 1 / 2
* <del>Apply Yourself to Ministry Presentations</del>
* Living as Christian 1 / 2
* CBS Conductor / reader

We would no longer need a Presentations item to be highlighted.

But we do have some questions. Would any of the names for the aforementioned assignments also get highlighted for:

- Student items
- Weekend items

Make sense?

When I preview it the note looks fine:

preview

See that the strikeout text is correctly shown?

But when I add the note it ends up like this:

note

Why is this?

libregeek commented 6 years ago

It might be a MantisBT-ParseDown implementation issue.

atrol commented 6 years ago

I assume this is the root cause https://www.mantisbt.org/bugs/view.php?id=24241

Independent from that I would use Markdown syntax instead of HTML del tag to strikethrough text. ~~Scratch this.~~ Scratch this.

mludlum commented 6 years ago

ajtruckle, please close this issue if atrol's suggestion works.

ajtruckle commented 6 years ago

Thank you for that @atrol