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 b209237 commit 256e03dCopy full SHA for 256e03d
web/script.js
@@ -5,7 +5,9 @@ $(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
+ console.log(text)
9
text = removeMdToc(text);
10
11
var converter = new showdown.Converter();
12
html = converter.makeHtml(text);
13
aDiv = $('#main_container');
@@ -38,7 +40,7 @@ function insertLinks() {
38
40
$('h2').each(function() {
39
41
aId = $(this).attr('id');
42
$(this).append('<a href="#'+aId+'" name="'+aId+'">#</a>');
- })
43
+ });
44
}
45
46
function addToc() {
0 commit comments