remarkable
html-react-parser
Our great sponsors
remarkable | html-react-parser | |
---|---|---|
5 | 6 | |
5,665 | 1,969 | |
- | - | |
3.9 | 9.7 | |
5 months ago | 6 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
remarkable
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
> we can't take some well-tested, used-by-millions library
You can.
Here is an example of Sciter application that uses RemarkableJS library (https://github.com/jonschlinkert/remarkable) as it is:
https://quark.sciter.com/quark-application-samples/hello-mar...
-
BREAKING!! NPM package āua-parser-jsā with more than 7M weekly download is compromised
Since then they've made things that are IMO quite useful, like enquirer, micromatch, and remarkable.
-
Sciter officially switched to JavaScript
mdview (sources) uses RemarkableJS for MD->HTML conversion.
-
Tauri: An Electron alternative written in Rust
will give you split-view out-of-the-box. But web dev's will start looking for frameworks in order to achieve this simple task that browser have internally already.
TL;DR: Web and desktop UIs use inherently different models. You can share parts between these two different platforms but only parts, really.
[1] Remarkable JS: https://github.com/jonschlinkert/remarkable
html-react-parser
-
how to inject custom js/css/html code that is fetched from an API into nextjs app?
using libraries like html-react-parser but it did not work see: https://github.com/remarkablemark/html-react-parser/discussions/1015
-
Alternatives to dangerouslySetInnerHTML
I was thinking about some sanitization library but found this: https://github.com/remarkablemark/html-react-parser which i have reviewed to deeply yet.
-
Displaying WYSIWYG editor's output with React
I'm glad I could help! Please be careful though and check the FAQ section of the library. It says that it does not sanitize and it's not XSS safe. This is the issue where they explain: https://github.com/remarkablemark/html-react-parser/issues/94
-
react-icons, custom components and JSON rendering
I then switched to html-react-parser, but same result.
-
How to Render HTML string in a React component ?
by using dangerouslySetInnerHTML, entire html in the string is preserved. Other alternative would be to use a html-react-parser library.
-
A Walkthrough of Updating My Portfolio Site with Netlify Functions and the Dev.to API
However, when I insert the body_html field into my JSX map, it's just displaying a string with a bunch html tags in it. One quick google showed me html-react-parser and after the easiest install and application, my blogs are loading beautifully with pictures and links. All I had to add was the import (import parse from 'html-react-parser';) and a couple lines to my blogList map:
What are some alternatives?
showdown - A bidirectional Markdown to HTML to Markdown converter written in Javascript
imparse - Parser generator that can be used to quickly and succinctly define a parser definition, and to deploy an automatically-generated implementations thereof in multiple languages and on multiple platforms.
ua-parser-js - UAParser.js - Free & open-source JavaScript library to detect user's Browser, Engine, OS, CPU, and Device type/model. Runs either in browser (client-side) or node.js (server-side).
DOMPurify - DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
sciter-js-sdk - Sciter.JS - Sciter but with QuickJS on board instead of my TIScript
bbob - ā”ļøBlazing fast js bbcode parser, that transforms and parses bbcode to AST with plugin support in pure javascript, no dependencies
react-markdown - Markdown component for React [Moved to: https://github.com/remarkjs/react-markdown]
texthighlighter - a no dependency typescript npm package for highlighting user selected text
enquirer - Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert
Portfolio2.0
Servo - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
dom-to-image - Generates an image from a DOM node using HTML5 canvas