We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b13a4e commit 3b74cf0Copy full SHA for 3b74cf0
web/script.js
@@ -5,7 +5,7 @@ $(document).ready(function() {
5
function parseMd() {
6
var GITHUB = 'https://raw.githubusercontent.com/gto76/python-cheatsheet/master/README.md'
7
jQuery.get(GITHUB, function(text) {
8
- // text = removeMdToc(text)
+ text = removeMdToc(text)
9
var converter = new showdown.Converter()
10
html = converter.makeHtml(text)
11
aDiv = $('#main_container')
@@ -20,6 +20,7 @@ function parseMd() {
20
function removeMdToc(text) {
21
out = []
22
console.log(text)
23
+ return text
24
lines = text.match(/[^\r\n]+/g);
25
insideContents = false
26
for (line of lines) {
0 commit comments