allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #7955 Add more formatting support to markdown editor
Date Fri, 28 Aug 2015 21:43:18 GMT
Author has some in-progress work to put section headers buttons in the toolbar, nice :)

State types are mostly set starting here
 "comment" actually means "code"

\``` blocks can be controlled with option `fencedCodeBlocks` in markdown.js but we don't have
a way to pass that in right now.  We'd need to change `mode` in simplemde.js from a simple
string to `{name: "gfm", fencedCodeBlocks: false}`  And gfm.js will pass it through to markdown.js
config.  [General config docs](  Or to
keep it but change from \``` to `~~~~` would require forking markdown.js and changing \```
in just a few places, might be actually not bad **if** we decide to do a custom build of simplemde
and codemirror.

I am working on a button to support just single \` inline formatting.  I think it should be


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

**Status:** open
**Milestone:** unreleased
**Labels:** ux sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:39 PM UTC by Dave Brondsema
**Last Updated:** Fri Aug 28, 2015 08:29 PM UTC
**Owner:** Igor Bondarenko

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 because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message