Skip to content

Commit

Permalink
Fix README heading ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Apr 18, 2023
1 parent c4ac021 commit 6046f8d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Any non-code changes should be prefixed with `(docs)`.
See `PUBLISH.md` for instructions on how to publish a new version.
-->

- (docs) Fix README heading ordering
- (minor) Hash link position, heading link + clipboard settings


Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,22 @@ Set this property to `false` to disable this plugin.
- `delimiter` (`string`, optional, defaults to `','`): String to split fence information on.
</details>

### limit_tokens

<details>
<summary>Filters and transforms tokens in the token stream.</summary>

**Options:**

Pass options for this plugin as the `limit_tokens` property of the `do-markdownit` plugin options.
This plugin is disabled by default, pass an object to enable it.

- `allowedTokens` (`string[]`): A list of Markdown tokens that should render
- `transformTokens` (`Object<string, function(Token): Token>`): An object where the keys are Markdown tokens that should be transformed.
The transformation is done based on the value which is a function that expects a [Markdown token](https://markdown-it.github.io/markdown-it/#Token) as a param
and returns the transformed token.
</details>


## PrismJS

Expand Down Expand Up @@ -1197,22 +1213,6 @@ require('@digitalocean/do-markdownit/util/prism_keep_html')(Prism);
Prism.highlight('console.log("<mark>Hello, world!</mark>");', Prism.languages.javascript, 'javascript');
```

## limit_tokens

<details>
<summary>Filters and transforms tokens in the token stream.</summary>

**Options:**

Pass options for this plugin as the `limit_tokens` property of the `do-markdownit` plugin options.
Set this property to `false` to disable this plugin.

- `allowedTokens` (`string[]`): A list of Markdown tokens that should render
- `transformTokens` (`Object<string, function(Token): Token>`): An object where the keys are Markdown tokens that should be transformed.
The transformation is done based on the value which is a function that expects a [Markdown token](https://markdown-it.github.io/markdown-it/#Token) as a param
and returns the transformed token.
</details>


## Styles

Expand Down

0 comments on commit 6046f8d

Please sign in to comment.