New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

markdown-magic

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-magic - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

21

lib/transforms/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc