-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable heading IDs #1190
Disable heading IDs #1190
Changes from 7 commits
8b60260
3d7788b
e4f2f81
83806c0
c57dff5
abfe340
84a3c29
a67c8f6
12976eb
7872103
cc0d396
7c87d53
eb778b9
deff402
0fc7160
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,9 @@ | |
"eslint-plugin-standard": "^3.0.1", | ||
"front-matter": "^2.3.0", | ||
"glob-to-regexp": "0.3.0", | ||
"html-differ": "^1.3.4", | ||
"jasmine": "^3.1.0", | ||
"jasmine2-custom-message": "^0.9.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these are not needed for this PR |
||
"markdown": "*", | ||
"markdown-it": "*", | ||
"showdown": "*", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
var marked = require('../../marked.min.js'); | ||
var HtmlDiffer = require('html-differ').HtmlDiffer, | ||
htmlDiffer = new HtmlDiffer(); | ||
var since = require('jasmine2-custom-message'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are not needed |
||
|
||
it('should run the test', function () { | ||
expect(marked('Hello World!')).toBe('<p>Hello World!</p>\n'); | ||
|
@@ -15,4 +18,4 @@ it('should start an ordered list at 0 when requested', function () { | |
it('indents code within an explicitly-started ordered list', function () { | ||
expect(marked(" 10. foo\n\n bar")). | ||
toBe("<ol start=\"10\">\n<li><p>foo</p>\n<pre><code>bar\n</code></pre></li>\n</ol>\n"); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'I' comes before 'P'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch...funny enough, I got it right in the table. :)