You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Will Pittenger <wi...@users.sf.net> on 2014/02/06 10:35:29 UTC
[allura:tickets] #7138 Markup can't handle code sections after a bulleted
list.
---
** [tickets:#7138] Markup can't handle code sections after a bulleted list.**
**Status:** open
**Created:** Thu Feb 06, 2014 09:35 AM UTC by Will Pittenger
**Last Updated:** Thu Feb 06, 2014 09:35 AM UTC
**Owner:** nobody
I noticed that Markup appears to choke when a ~~~~ code sample follows a bulleted list. See the sample below. The code isn't formatted as code.
* Item 1
* Item 2
~~~~
Some code
code
~~~~
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7138 Markup can't handle code sections after a bulleted
list.
Posted by Chris Tsai <ct...@users.sf.net>.
Some workarounds:
1) use a ` ` to "break out" of the list prior to the code block:
eg.
* Item 1
* Item 2
~~~~
Some code
code
~~~~
----
2) Indent by 4 spaces to make the code block a part of the list item:
eg.
* Item 1
* Item 2
~~~~
Some code
code
~~~~
And, since it's difficult to show the "raw" formatting, I've attached the contents of this post to this ticket as a txt file.
Attachment: markdown_code_list_examples.txt (421 Bytes; text/plain)
---
** [tickets:#7138] Markup can't handle code sections after a bulleted list.**
**Status:** open
**Created:** Thu Feb 06, 2014 09:35 AM UTC by Will Pittenger
**Last Updated:** Thu Feb 06, 2014 09:35 AM UTC
**Owner:** nobody
I noticed that Markup appears to choke when a ~~~~ code sample follows a bulleted list. See the sample below. The code isn't formatted as code.
* Item 1
* Item 2
~~~~
Some code
code
~~~~
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7138 Markup can't handle code sections after a bulleted
list.
Posted by Dave Brondsema <br...@users.sf.net>.
This is a limitation in the markdown library used. https://github.com/waylan/Python-Markdown/issues/53
---
** [tickets:#7138] Markup can't handle code sections after a bulleted list.**
**Status:** open
**Created:** Thu Feb 06, 2014 09:35 AM UTC by Will Pittenger
**Last Updated:** Thu Feb 06, 2014 03:42 PM UTC
**Owner:** nobody
I noticed that Markup appears to choke when a ~~~~ code sample follows a bulleted list. See the sample below. The code isn't formatted as code.
* Item 1
* Item 2
~~~~
Some code
code
~~~~
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.