diff options
author | 2023-07-24 23:36:32 +0000 | |
---|---|---|
committer | 2023-07-24 23:36:32 +0000 | |
commit | 25e04a2ecbda7952a68220ce6739ae1c75144858 (patch) | |
tree | 1fc602a9a1cef5bb9cde6b3d3c8465f7129cbb90 /packages/integrations/markdoc/README.md | |
parent | 7461e82c81438df956861197536f9ceeaf63d6b3 (diff) | |
download | astro-25e04a2ecbda7952a68220ce6739ae1c75144858.tar.gz astro-25e04a2ecbda7952a68220ce6739ae1c75144858.tar.zst astro-25e04a2ecbda7952a68220ce6739ae1c75144858.zip |
[ci] format
Diffstat (limited to '')
-rw-r--r-- | packages/integrations/markdoc/README.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/integrations/markdoc/README.md b/packages/integrations/markdoc/README.md index d9a7d15c5..246da3686 100644 --- a/packages/integrations/markdoc/README.md +++ b/packages/integrations/markdoc/README.md @@ -409,16 +409,14 @@ The Astro Markdoc integration handles configuring Markdoc options and capabiliti Enables writing HTML markup alongside Markdoc tags and nodes. -By default, Markdoc will not recognize HTML markup as semantic content. - -To achieve a more Markdown-like experience, where HTML elements can be included alongside your content, set `allowHTML:true` as a `markdoc` integration option. This will enable HTML parsing in Markdoc markup. +By default, Markdoc will not recognize HTML markup as semantic content. +To achieve a more Markdown-like experience, where HTML elements can be included alongside your content, set `allowHTML:true` as a `markdoc` integration option. This will enable HTML parsing in Markdoc markup. > **Warning** > When `allowHTML` is enabled, HTML markup inside Markdoc documents will be rendered as actual HTML elements (including `<script>`), making attack vectors like XSS possible. > -> Ensure that any HTML markup comes from trusted sources. - +> Ensure that any HTML markup comes from trusted sources. ```js {7} "allowHTML: true" // astro.config.mjs |