allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [13/13] allura git commit: [#7955] pass through options to CodeMirror's markdown and gfm modes
Date Mon, 14 Sep 2015 18:30:47 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/c8e9e5cf
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/c8e9e5cf
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/c8e9e5cf

Branch: refs/heads/db/7955
Commit: c8e9e5cf694ea80bf5df4a62863fb1853db0c86d
Parents: 98cc68d
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Sep 2 18:25:54 2015 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Mon Sep 14 18:29:40 2015 +0000

----------------------------------------------------------------------
 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/c8e9e5cf/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