allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [08/21] allura git commit: [#7955] pass through options to CodeMirror's markdown and gfm modes
Date Thu, 17 Sep 2015 19:23:45 GMT
[#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/master
Commit: 182b0c1159dd1ba7b6adf6b65d910fca486eb1c9
Parents: 85ecd53
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Sep 2 18:25:54 2015 +0000
Committer: Heith Seewald <hseewald@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();
 


Mime
View raw message