micromark
remarkable
Our great sponsors
micromark | remarkable | |
---|---|---|
2 | 5 | |
1,655 | 5,667 | |
2.0% | - | |
7.9 | 3.9 | |
7 days ago | 5 months ago | |
JavaScript | JavaScript | |
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.
micromark
-
I'm a little confused on how to handle blog posts and blog post snippets
You mean when fetching the data on the client, you don't want it to come along with the styling? Is it in a tag?
I just want to wrap my head around the problem more properly, and what you're trying to solve
Also, if the blog post data was created with styling in the first place then what's the purpose for removing the styling? The only reason I can imagine is that the same blog post data would be used for two different purposes, one needing the styled version while the other would need the unstyled version. Otherwise, if the data is only ever going to be used without styles, I would just make sure they're added without styles in the first
Also, if you want to store markdown instead of html in the database, you can parse it into HTML on the client using a library like micromark (https://github.com/micromark/micromark) or similar
-
How to Safely Render Markdown From a React Component
React markdown vs remark react-markdown is a library that provides the React component to render the Markdown markup while remark is a markdown preprocessor built on micromark. It inspects, parses and transforms markdowns.
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
What are some alternatives?
react-markdown - Markdown component for React
showdown - A bidirectional Markdown to HTML to Markdown converter written in Javascript
remark - markdown processor powered by plugins part of the @unifiedjs collective
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).
remark-gfm - remark plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists)
sciter-js-sdk - Sciter.JS - Sciter but with QuickJS on board instead of my TIScript
slackify-markdown - Convert markdown into Slack-specific markdown
react-markdown - Markdown component for React [Moved to: https://github.com/remarkjs/react-markdown]
md4qt - Markdown parser for Qt6 or ICU
html-react-parser - 📝 HTML to React parser.
render-gfm - Render GitHub Flavoured Markdown, with CSS for each of GitHub's themes
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