You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/09/18 02:52:57 UTC
[02/25] allura git commit: [#7955] pass through options to
CodeMirror's markdown and gfm modes
[#7955] pass through options to CodeMirror's markdown and gfm modes
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/182b0c11
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/182b0c11
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/182b0c11
Branch: refs/heads/db/7957
Commit: 182b0c1159dd1ba7b6adf6b65d910fca486eb1c9
Parents: 85ecd53
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Sep 2 18:25:54 2015 +0000
Committer: Heith Seewald <hs...@hsmb.local>
Committed: Thu Sep 17 15:22:37 2015 -0400
----------------------------------------------------------------------
Allura/allura/lib/widgets/resources/js/sf_markitup.js | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/182b0c11/Allura/allura/lib/widgets/resources/js/sf_markitup.js
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/js/sf_markitup.js b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
index 424bbad..0ee45ee 100644
--- a/Allura/allura/lib/widgets/resources/js/sf_markitup.js
+++ b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
@@ -58,6 +58,12 @@ $(window).load(function() {
tabSize: 4,
toolbar: toolbar,
previewRender: previewRender,
+ parsingConfig: {
+ highlightFormatting: true,
+ allowAtxHeaderWithoutSpace: true,
+ strikethrough: false,
+ taskLists: false,
+ }
});
editor.render();