Skip to content

Commit 0b13a4e

Browse files
committed
RemovedMdToc disabled
1 parent b656877 commit 0b13a4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/script.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $(document).ready(function() {
55
function parseMd() {
66
var GITHUB = 'https://raw.githubusercontent.com/gto76/python-cheatsheet/master/README.md'
77
jQuery.get(GITHUB, function(text) {
8-
text = removeMdToc(text)
8+
// text = removeMdToc(text)
99
var converter = new showdown.Converter()
1010
html = converter.makeHtml(text)
1111
aDiv = $('#main_container')
@@ -19,6 +19,7 @@ function parseMd() {
1919

2020
function removeMdToc(text) {
2121
out = []
22+
console.log(text)
2223
lines = text.match(/[^\r\n]+/g);
2324
insideContents = false
2425
for (line of lines) {

0 commit comments

Comments
 (0)