uiwjs / uiwjs/react-md-editor

Im not being able to avoid convert html tags from the markdown editor to html tags in preview mode

Open
#366 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.9k
Forks
201
Avg merge
12m
Merged PRs (30d)
1

Description

Hello!

im trying to create an editor that doesnt convert html tags from the editor. When i put this:

image

I need the html to be interpreted as a string, like this: <em>html</em> but without code syntax.

Is there a prop or something to prevent this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported HTML-tag behavior in the markdown editor's preview mode and inspect the preview rendering configuration. Done means HTML entered in the editor is displayed as literal text, without being rendered as HTML and without code-block styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.