- **status**: review --> closed
- **Reviewer**: Dave Brondsema
- **Comment**:

Excellent!  I tested every combination of code blocks and language specifiers I 
could think of and they all work, I love it!  This enables lots of nice 
formatting features:

* backticks not just tildes
* language specifier can go in backtick/tilde line, matching CommonMark and 
github format
* no blank line required before and after
* can nest backtick and/or tilde lines within a block (if different type/number 
of them)
* code blocks work immediately before or after lists



---

** [tickets:#7987] Standardize fenced blocks in markdown**

**Status:** closed
**Milestone:** unreleased
**Labels:** sf-current sf-4 42cc 
**Created:** Mon Sep 14, 2015 05:18 PM UTC by Dave Brondsema
**Last Updated:** Tue Jan 05, 2016 04:07 PM UTC
**Owner:** Igor Bondarenko


Switch from our custom `FencedCodeProcessor` to the standard extension 
https://pythonhosted.org/Markdown/extensions/fenced_code_blocks.html so that we 
can support \`\`\` style, and so that blank lines are not needed before and 
after the `~~~~` blocks.  This will get us more closely aligned with the 
CommonMark standard, and the syntax highlighting of the markdown editor, and 
the 

However, the format for denoting the language inside the block is different 
there than the 
[CodeHilite](https://pythonhosted.org/Markdown/extensions/code_hilite.html) 
extension which we are already using (and our current `~~~~` uses as well since 
it simply makes an indented block).  So we'll have to figure out how to 
reconcile that.


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to