Comments (1)
Hello 🙂
Something like mentions you'd need to define your own rules for, since it isn't supported by markdown normally, which isn't included in your code here. You can checkout my README, and @danielsnider kindly added some additional information on how one might go about this here - #116 (he also opened a PR to update the readme but I'm a bit behind on issues right now.)
Something like links: Is the issue that the draft readonly editor isn't including it? It seems you aren't passing in any decorators, which would be required for properly displaying links in a draft editor. (example code - https://github.com/facebook/draft-js/tree/master/examples/draft-0-10-0/link)
Similar for strikethrough: https://draftjs.org/docs/advanced-topics-inline-styles/
Hopefully this is helpful!
from markdown-draft-js.
Related Issues (20)
- Bug when translating link entities HOT 8
- The order list with index error HOT 3
- Quirk in handling of mixed bold and italics in a single word HOT 1
- Escape Markdown on draftToMarkdown HOT 1
- Transition from prepublish to prepare scripts?
- Is the HR tag supported? HOT 1
- Demo uses a very old version
- Documentation is unclear about collapsing newlines HOT 1
- Blank line between paragraphs is not preserved when preserveNewlines: true enabled HOT 4
- Block codes in markdown are removed HOT 1
- draft-to-markdown mistranslates spaces
- Sample remarkable plugin does not match content beginning with a mention HOT 1
- Strikethrough conversion is incomplete HOT 1
- Insert four spaces before line content did not transform to html HOT 1
- Add more parameters to DraftToMarkdownOptions.entityItems.open/close HOT 2
- Question: Text aligin - how to convert HTML tags into raw with markdownToDraft?
- Unable to handle combination of ordered and unordered list
- Text disappears when preceded by a dash and spaces
- Typescript migration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-draft-js.