Explain Markdown renderer and specs; minor tidy (#10719)

Knowing the specifics of what Markdown syntaxes are supported help when writing content.  This change explains which renderer is used and the specs it supports.
This commit is contained in:
David Beitey 2019-10-12 02:08:42 +10:00 committed by Fabian Affolter
parent d8dfed65b7
commit 9869fbb2cc

View File

@ -4,7 +4,10 @@ sidebar_label: Markdown
description: "Markdown card is used to render markdown"
---
Markdown card is used to render [markdown](http://commonmark.org/help/).
Markdown card is used to render [Markdown](https://commonmark.org/help/).
The renderer uses [Marked.js](https://marked.js.org), which supports [several specifications of Markdown](https://marked.js.org/#/README.md#specifications), including CommonMark, GitHub Flavored Markdown (GFM) and `markdown.pl`.
<p class='img'>
<img src='/images/lovelace/lovelace_markdown.png' alt='Screenshot of the markdown card'>
@ -18,7 +21,7 @@ type:
type: string
content:
required: true
description: "Content to render as [markdown](http://commonmark.org/help/). May contain [templates](/docs/configuration/templating/)."
description: "Content to render as [Markdown](https://commonmark.org/help/). May contain [templates](/docs/configuration/templating/)."
type: string
title:
required: false