texme
marked
texme | marked | |
---|---|---|
13 | 60 | |
2,255 | 31,926 | |
- | 0.7% | |
0.0 | 9.5 | |
10 months ago | 5 days ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
texme
-
What software do you use to make documents without resorting to Microsoft word?
It probably won't cover needs of "make documents at our office" but I'd like to mention https://github.com/susam/texme. Basically you prepend your markdown file with a line of HTML/Javascript, rename it to HTML and it'll render pretty in a webbrowser.
-
Reasons you aren't updating your personal site (2020)
This is nice. We are website-mates. My website is also 2001-2022. I like the simple and serif font on your website.
I had thrown in your https://github.com/susam/texme few times to quickly send Markdown files for reading. :-)
-
Is it ever possible to have LaTex Equations capabilities in Markdown?
By default vs code has latex on md. Also https://github.com/susam/texme
-
Favorite self-rendering Markdown tool in JavaScript
So the Markdown to HTML rendering happens as page load time.
This would hopefully allow me to forego the static .md -> .html step I use for building my sites.
I found one called 'texme' here: https://github.com/susam/texme
Do you use or have written a similar tool?
- Convert latex notation to ready to be embedded Markdown
- Show HN: Notes.cx – A simple, anonymous online notepad \w Markdown support
-
Show HN: TeXMe Demo: Self-Rendering Markdown (GFM) + LaTeX (MathJax) Document
Does the Self-Hosting heading not answer that objection?
https://github.com/susam/texme#self-hosting-texme
- TeXMe 1.0.0 Released. Now supports tables, task lists, strikethrough, autolinks, etc. via GFM
-
Why I’m Losing Trust in Open Source
> Open source maintainers abandoning projects due to lack of time and interest.
And the occasional demanding users who would rather have us working on their problems instead of our own.
Only about a couple of hours ago, I received an issue[1] on one of my projects suggesting I fix an issue which from my perspective appeared to be a lack of understanding of the documentation I have provided with the project. Unclear issue details and demanding behaviour can take a toll on a maintainer's morale.
[1] https://github.com/susam/texme/issues/21
- "I am not making any decision for you. This is a free and open source project."
marked
-
Eleventy vs. Next.js for static site generation
Next, install gray-matter to extract metadata from the front matter of markdown files, and marked to convert the markdown files to HTML:
-
To learn svelte, I clone Github's issues page including useful features that you might consider reusing.
📑 Marked Markdown parser. Use it to create your own markdown editor.
-
🤖 AI Search and Q&A for Your Dev.to Content with Vrite
Vrite SDK provides a few built-in input and output transformers. These are functions, with standardized signatures to process the content from and into Vrite. In this case, gfmInputTransformer is essentially a GitHub Flavored Markdown parser, using Marked.js under the hood.
-
Better code highlighting on the web: rehype-tree-sitter
Another contestant in this realm is Bright[1]. It runs entirely on the server and doesn't increase bundle size as seen here[2]. Regarding parsing speed tree-sitter is without a doubt performant since it is written in Rust, but I don't have any problems "parsing on every keystroke" with a setup containing Marked[3], highlight.js[4] and a sanitizer. I did however experience performance issues with other Markdown parser libraries than Marked.
[1]: https://bright.codehike.org/
[2]: https://aihelperbot.com/test-suite
[3]: https://github.com/markedjs/marked
[4]: https://highlightjs.org/
-
[Project Share] List dialog that supports complex HTML and Markdown format.
The project uses markedJS to convert markdown into HTML, this is their GitHub page.
-
Vrite Editor: Open-Source WYSIWYG Markdown Editor
To handle pasting block Markdown content like this, I had to tap into ProseMirror and implement a custom mechanism (though somewhat based on TipTap’s paste rules), detecting starting and ending points of the blocks and parsing them with Marked.js.
-
Help needed!
I am using marked for markdown parsing together with marked-highlighting to handle syntax highlighting and everything is working as it should.
-
Need help - sanitizeHtml with marked doesn't render special characters correctly (& is & and then &amp)
I'm trying to render user input using SvelteMarkdown (that uses marked).
-
Looking for a Comprehensive Guide for Building Complex Chatbots with GPT-4 API
GPT API returns data in markdown format. You can parse it using a Markdown library and string manipulation. On Electron app I developed https://jhappsproducts.gumroad.com/l/gpteverywhere, I used https://github.com/markedjs/marked and a code syntax highlighting package to display code blocks. And used JavaScript string manipulation to detect when code blocks start and end so I could add COPY/SAVE buttons to the blocks. I hope this helps, and happy coding! :)
-
How I put ChatGPT into a WYSIWYG editor
Again, with streaming enabled, you’ll now receive new tokens as soon as they’re available. Given that OpenAI’s API uses Markdown in its response format, a full message will need to be put together from the incoming tokens and parsed to HTML, as accepted by the replaceContent function. For this purpose, I’ve used the Marked.js parser.
What are some alternatives?
react-mathjax - React component to display math formulas
remark - markdown processor powered by plugins part of the @unifiedjs collective
grip - Preview GitHub README.md files locally before committing them.
markdown-it - Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
zero-md - Ridiculously simple zero-config markdown displayer
snarkdown - :smirk_cat: A snarky 1kb Markdown parser written in JavaScript
github-markdown-css - The minimal amount of CSS to replicate the GitHub Markdown style
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:
sicp - XML sources of SICP and SICP JS, and support for generating Interactive SICP JS, PDF, e-book and comparison editions
MDsveX - A markdown preprocessor for Svelte.
MathJax - Beautiful and accessible math in all browsers
js-yaml - JavaScript YAML parser and dumper. Very fast.