3.0.1 • Published 5 years ago

defence v3.0.1

Weekly downloads
44
License
MIT
Repository
github
Last release
5 years ago

The package exports a single function.

The function's first argument is a string of CommonMark markup.

The function's second, optional, argument is an array of strings. Each string is a fenced code block infostring or the empty string signifying no infostring.

The function returns a string equal to its first argument, but with all content outside of fenced code blocks filtered out. If a second argument was passed, only content in fenced code blocks with matching passed infostrings is retained. In this way, fenced code block content appears on the same line in the output as it did in the input.

3.0.1

5 years ago

3.0.0

5 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago