Markdown format handling in Editor

2 posts, 0 answers
  1. Hari
    Hari avatar
    1 posts
    Member since:
    Feb 2020

    Posted 28 Jul 2020 Link to this post

    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 "

  2. Nikolay
    Admin
    Nikolay avatar
    104 posts

    Posted 28 Jul 2020 Link to this post

    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

Back to Top