This is a migrated thread and some comments may be shown as answers.

Markdown format handling in Editor

1 Answer 21 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hari
Top achievements
Rank 1
Hari asked on 28 Jul 2020, 07:12 AM

How to use the editor for formatting markdown format response. Is there a way to toggle the editor to view mode with no options and only content.

Example Markdown text : "**Stereo speakers**\n\nThe 10-point multi-touch touchscreen lets you use your fingers to select, zoom, and move things around.\n\nMechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly.  Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked.  Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth┬« 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets.\n\nSurface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen).\n\nSurface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in.\n\nTwo noise-canceling microphones ensure accurate audio recording and enhanced call quality.\n\nTwo front-facing stereo speakers with Dolby┬« enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books.\n\nPorts and connectors "

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 28 Jul 2020, 08:15 AM

Hello,

If you need to edit the markdown, see the following example - https://stackblitz.com/edit/react-zzflze-j6fv5s?file=app%2Fmain.jsx.

You can also render the markdown in HTML format, without the Editor - https://stackblitz.com/edit/react-zzflze-mz3t7q?file=app%2Fmain.jsx.

Regards,
Nikolay
Progress Telerik

Tags
General Discussions
Asked by
Hari
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or