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 b656877 commit 0b13a4eCopy full SHA for 0b13a4e
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')
@@ -19,6 +19,7 @@ function parseMd() {
19
20
function removeMdToc(text) {
21
out = []
22
+ console.log(text)
23
lines = text.match(/[^\r\n]+/g);
24
insideContents = false
25
for (line of lines) {
0 commit comments