Skip to content

Commit

Permalink
HTML Editor: update Markdown Support demo description (#28429)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladaskorohodova authored Nov 26, 2024
1 parent d71ab3e commit d279d2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/demos/Demos/HtmlEditor/MarkdownSupport/description.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Our HtmlEditor outputs the markup in HTML format.
DevExtreme HTML Editor uses HTML markup to format its document content. This demo module converts content to Markdown with the help of the [unified](https://github.com/unifiedjs/unified) plugin library.

The HtmlEditor stores the markup in the [value](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#value) property. In this demo, the value is displayed under the HtmlEditor.
The code sets the the editor's [converter](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/converter/) property to an object that implements two functions: [toHtml](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/converter/#toHtml) and [fromHtml](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/converter/#fromHtml).

Try to edit or format text in the HTML Editor control and see how the Markdown Preview section reflects those changes.
<!--split-->

0 comments on commit d279d2a

Please sign in to comment.