markdown-magic
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -18,6 +18,9 @@ "use strict" // eslint-disable-line | ||
* ```md | ||
* <-- MATCHWORD:START (CODE:src=./relative/path/to/code.js) --> | ||
* <!-- MATCHWORD:START (CODE:src=./relative/path/to/code.js) --> | ||
* This content will be dynamically replaced with code from the file | ||
* <-- MATCHWORD:END --> | ||
* <!-- MATCHWORD:END --> | ||
* ``` | ||
* | ||
* Default `MATCHWORD` is `AUTO-GENERATED-CONTENT` | ||
* | ||
* --- | ||
@@ -39,6 +42,9 @@ * @param {string} content The current content of the comment block | ||
* ```md | ||
* <-- MATCHWORD:START (REMOTE:url=http://url-to-raw-md.md) --> | ||
* <!-- MATCHWORD:START (REMOTE:url=http://url-to-raw-md.md) --> | ||
* This content will be dynamically replace from the remote url | ||
* <-- MATCHWORD:END --> | ||
* <!-- MATCHWORD:END --> | ||
* ``` | ||
* | ||
* Default `MATCHWORD` is `AUTO-GENERATED-CONTENT` | ||
* | ||
* --- | ||
@@ -63,6 +69,9 @@ * @param {string} content The current content of the comment block | ||
* ```md | ||
* <-- MATCHWORD:START (TOC) --> | ||
* <!-- MATCHWORD:START (TOC) --> | ||
* toc will be generated here | ||
* <-- MATCHWORD:END --> | ||
* <!-- MATCHWORD:END --> | ||
* ``` | ||
* | ||
* Default `MATCHWORD` is `AUTO-GENERATED-CONTENT` | ||
* | ||
* --- | ||
@@ -69,0 +78,0 @@ * @param {string} content The current content of the comment block |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
/* | ||
@@ -3,0 +3,0 @@ Update contents between Comment tags |
{ | ||
"name": "markdown-magic", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "Automatically update markdown files with content from external sources", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -139,6 +139,9 @@ # Markdown Magic | ||
```md | ||
<-- MATCHWORD:START (CODE:src=./relative/path/to/code.js) --> | ||
<!-- MATCHWORD:START (CODE:src=./relative/path/to/code.js) --> | ||
This content will be dynamically replaced with code from the file | ||
<-- MATCHWORD:END --> | ||
<!-- MATCHWORD:END --> | ||
``` | ||
Default `MATCHWORD` is `AUTO-GENERATED-CONTENT` | ||
--- | ||
@@ -155,6 +158,9 @@ | ||
```md | ||
<-- MATCHWORD:START (REMOTE:url=http://url-to-raw-md.md) --> | ||
<!-- MATCHWORD:START (REMOTE:url=http://url-to-raw-md.md) --> | ||
This content will be dynamically replace from the remote url | ||
<-- MATCHWORD:END --> | ||
<!-- MATCHWORD:END --> | ||
``` | ||
Default `MATCHWORD` is `AUTO-GENERATED-CONTENT` | ||
--- | ||
@@ -174,6 +180,9 @@ | ||
```md | ||
<-- MATCHWORD:START (TOC) --> | ||
<!-- MATCHWORD:START (TOC) --> | ||
toc will be generated here | ||
<-- MATCHWORD:END --> | ||
<!-- MATCHWORD:END --> | ||
``` | ||
Default `MATCHWORD` is `AUTO-GENERATED-CONTENT` | ||
--- | ||
@@ -190,2 +199,3 @@ <!-- ⛔️ AUTO-GENERATED-CONTENT:END - Do not remove or modify this section --> | ||
* [version-badge](https://github.com/camacho/markdown-magic-version-badge) - Add a badge with the latest version of the project | ||
* [template] (https://github.com/camacho/markdown-magic-template) - Add Lodash template support | ||
@@ -192,0 +202,0 @@ ## Custom Transforms |
51317
802
319