Skip to content

Commit

Permalink
Enable CSS container query by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Oct 15, 2023
1 parent f8080d3 commit 7a68978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ _We will only explain features extended in marp-core._ Please refer to [Marpit f
**Marp Markdown** is a custom Markdown flavor based on [Marpit](https://marpit.marp.app) and [CommonMark](https://commonmark.org/). Following are principle differences from the original:

- **Marpit**
- Enabled [inline SVG slide](https://marpit.marp.app/inline-svg) and [loose YAML parsing](https://marpit-api.marp.app/marpit#Marpit) by default.
- Enabled [inline SVG slide](https://marpit.marp.app/inline-svg), [CSS container query support and loose YAML parsing](https://marpit-api.marp.app/marpit#Marpit) by default.

* **CommonMark**
- For making secure, we will deny most of HTML tags used in Markdown by default. Allowed HTML tags are `<br>` only for now.
Expand Down
1 change: 1 addition & 0 deletions src/marp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class Marp extends Marpit {
}

super({
cssContainerQuery: true,
inlineSVG: true,
looseYAML: true,
math: true,
Expand Down

0 comments on commit 7a68978

Please sign in to comment.