Tables aren't parsed in the CodeMirror markdown modes, so we don't have a way 
to style it.  I think it'll be hard to add parsing for it, so I'm not going to 
attempt it now.  I did file an issue for it though 
https://github.com/codemirror/CodeMirror/issues/3532

And one option would be intentionally make the pipes in the table not line up.  
They don't have to be, so maybe if we don't make them look like they're 
supposed to be then it'd be good.  Example:

First Header  | Second Header | Third Header
\-\-\- | --- | ---
Content Cell  | Content Cell  | Content Cell 
Foo | Bar | Baz



---

** [tickets:#7955] Add more formatting support to markdown editor**

**Status:** in-progress
**Milestone:** unreleased
**Labels:** ux sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:39 PM UTC by Dave Brondsema
**Last Updated:** Tue Sep 15, 2015 08:50 PM UTC
**Owner:** Dave Brondsema


It'd be nice to add more toolbar buttons to support inserting formatting like:

* `~~~~` code blocks
* strikethrough
* backticks
* tables
* headers

Tables & headers might need a drop-down to support choosing which one, so not 
sure if that is realistic.

Syntax highlighting of those elements (especially our code blocks) would be 
nice too, but perhaps a lot of work?

See if we can include tooltip text on the new buttons too.  I note that our 
custom preview and help buttons don't have tooltips.


---

Sent from forge-allura.apache.org because dev@allura.apache.org 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