documentary
Advanced tools
Comparing version 1.15.0 to 1.15.1
@@ -8,2 +8,4 @@ const { Transform } = require('stream'); | ||
} = require('./rules'); | ||
let tableRule = require('./rules/table'); if (tableRule && tableRule.__esModule) tableRule = tableRule.default; | ||
let macroRule = require('./rules/macro'); if (macroRule && macroRule.__esModule) macroRule = macroRule.default; | ||
const { | ||
@@ -69,2 +71,4 @@ Replaceable, makeCutRule, makePasteRule, makeMarkers, | ||
macroRule, | ||
tableRule, | ||
// insertLinkTitle, | ||
@@ -162,2 +166,3 @@ // insertTitle, | ||
const title = `${lines.map(l => l.trim()).join('<br/>')}` | ||
if (!title) return match | ||
const t = getTitle(title) | ||
@@ -164,0 +169,0 @@ const link = getLink(t) |
## 13 September 2018 | ||
### 1.15.1 | ||
- [fix] Allow to use toc-titles in the macros. | ||
- [fix] Fix putting `---` with empty line above in the table of contents. | ||
### 1.15.0 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "documentary", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "A library to manage documentation, such as README, usage, man pages and changelog.", | ||
@@ -44,2 +44,3 @@ "main": "build", | ||
"examples", | ||
"output", | ||
"github", | ||
@@ -54,3 +55,6 @@ "doc", | ||
"types", | ||
"methods" | ||
"methods", | ||
"api", | ||
"table of contents", | ||
"toc" | ||
], | ||
@@ -57,0 +61,0 @@ "author": "Anton <anton@adc.sh>", |
Sorry, the diff of this file is not supported yet
235938
1688