Socket
Socket
Sign inDemoInstall

remark-lint-fenced-code-marker

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-fenced-code-marker - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

11

index.js

@@ -12,3 +12,3 @@ /**

* `'consistent'` detects the first used fenced code marker style and warns
* when subsequent fenced code-blocks use different styles.
* when subsequent fenced code blocks use different styles.
*

@@ -18,7 +18,8 @@ * ## Fix

* [`remark-stringify`](https://github.com/remarkjs/remark/tree/master/packages/remark-stringify)
* formats fences using a backtick (`` '`' ``) by default. Pass
* formats fences using ``'`'`` (grave accent) by default.
* Pass
* [`fence: '~'`](https://github.com/remarkjs/remark/tree/master/packages/remark-stringify#optionsfence)
* to use tildes instead.
* to use `~` (tilde) instead.
*
* See [Using remark to fix your markdown](https://github.com/remarkjs/remark-lint#using-remark-to-fix-your-markdown)
* See [Using remark to fix your Markdown](https://github.com/remarkjs/remark-lint#using-remark-to-fix-your-markdown)
* on how to automatically fix warnings for this rule.

@@ -110,3 +111,3 @@ *

/* Ignore unfenced code blocks. */
// Ignore unfenced code blocks.
if (markers[marker] === true) {

@@ -113,0 +114,0 @@ if (pref) {

{
"name": "remark-lint-fenced-code-marker",
"version": "1.0.2",
"version": "1.0.3",
"description": "remark-lint rule to warn when fenced code markers violate the given style",

@@ -16,5 +16,5 @@ "license": "MIT",

"bugs": "https://github.com/remarkjs/remark-lint/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],

@@ -21,0 +21,0 @@ "files": [

@@ -5,2 +5,10 @@ <!--This file is generated-->

[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
[![Sponsors][sponsors-badge]][collective]
[![Backers][backers-badge]][collective]
[![Chat][chat-badge]][chat]
Warn for violating fenced code markers.

@@ -11,3 +19,3 @@

`'consistent'` detects the first used fenced code marker style and warns
when subsequent fenced code-blocks use different styles.
when subsequent fenced code blocks use different styles.

@@ -17,7 +25,8 @@ ## Fix

[`remark-stringify`](https://github.com/remarkjs/remark/tree/master/packages/remark-stringify)
formats fences using a backtick (``'`'``) by default. Pass
formats fences using ``'`'`` (grave accent) by default.
Pass
[`fence: '~'`](https://github.com/remarkjs/remark/tree/master/packages/remark-stringify#optionsfence)
to use tildes instead.
to use `~` (tilde) instead.
See [Using remark to fix your markdown](https://github.com/remarkjs/remark-lint#using-remark-to-fix-your-markdown)
See [Using remark to fix your Markdown](https://github.com/remarkjs/remark-lint#using-remark-to-fix-your-markdown)
on how to automatically fix warnings for this rule.

@@ -122,2 +131,4 @@

[npm][]:
```sh

@@ -127,3 +138,3 @@ npm install remark-lint-fenced-code-marker

## Usage
## Use

@@ -165,4 +176,54 @@ You probably want to use it on the CLI through a config file:

## Contribute
See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
to get started.
See [`support.md`][support] for ways to get help.
This project has a [Code of Conduct][coc].
By interacting with this repository, organisation, or community you agree to
abide by its terms.
## License
[MIT](https://github.com/remarkjs/remark-lint/blob/master/LICENSE) © [Titus Wormer](http://wooorm.com)
[MIT][license] © [Titus Wormer][author]
[build-badge]: https://img.shields.io/travis/remarkjs/remark-lint/master.svg
[build]: https://travis-ci.org/remarkjs/remark-lint
[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark-lint.svg
[coverage]: https://codecov.io/github/remarkjs/remark-lint
[downloads-badge]: https://img.shields.io/npm/dm/remark-lint-fenced-code-marker.svg
[downloads]: https://www.npmjs.com/package/remark-lint-fenced-code-marker
[size-badge]: https://img.shields.io/bundlephobia/minzip/remark-lint-fenced-code-marker.svg
[size]: https://bundlephobia.com/result?p=remark-lint-fenced-code-marker
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
[collective]: https://opencollective.com/unified
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
[chat]: https://spectrum.chat/unified/remark
[npm]: https://docs.npmjs.com/cli/install
[health]: https://github.com/remarkjs/.github
[contributing]: https://github.com/remarkjs/.github/blob/master/contributing.md
[support]: https://github.com/remarkjs/.github/blob/master/support.md
[coc]: https://github.com/remarkjs/.github/blob/master/code-of-conduct.md
[license]: https://github.com/remarkjs/remark-lint/blob/master/license
[author]: https://wooorm.com
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