mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Update marky-markdown.
This commit is contained in:
@@ -28,11 +28,17 @@ function build(type) {
|
||||
.attr('class', null)
|
||||
.attr('id', null);
|
||||
|
||||
$(':header > a[href]').each(function() {
|
||||
$(':header:not(h3) > a').each(function() {
|
||||
var $a = $(this);
|
||||
$a.replaceWith($a.html());
|
||||
});
|
||||
|
||||
// Fix marky-markdown wrapping of sibling anchors.
|
||||
$('h3 ~ a').each(function() {
|
||||
var $a = $(this);
|
||||
$a.nextAll('p').first().append($a);
|
||||
});
|
||||
|
||||
// Append YAML front matter.
|
||||
var html = [
|
||||
'---',
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"doc": "node lib/main/build-doc github && npm run test:doc",
|
||||
"doc:fp": "node lib/fp/build-doc",
|
||||
"doc:site": "node lib/main/build-doc site",
|
||||
"doc:sitehtml": "optional-dev-dependency marky-markdown@^7.0.2 && npm run doc:site && node lib/main/build-site",
|
||||
"doc:sitehtml": "optional-dev-dependency marky-markdown@^8.0.0 && npm run doc:site && node lib/main/build-site",
|
||||
"pretest": "npm run build",
|
||||
"style": "npm run style:main && npm run style:fp && npm run style:perf && npm run style:test",
|
||||
"style:fp": "jscs fp/*.js lib/**/*.js",
|
||||
|
||||
Reference in New Issue
Block a user