syntect
markup
syntect | markup | |
---|---|---|
5 | 9 | |
1,802 | 5,781 | |
- | 0.2% | |
7.1 | 1.8 | |
5 days ago | 26 days ago | |
Rust | Ruby | |
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.
syntect
-
Documentation generators and custom syntax highlighting
Zola (https://www.getzola.org/) can generate from markdown-ish files nice looking documentation websites (and also RSS feeds), it uses syntect (https://github.com/trishume/syntect) which supports sublime syntax highlight files. For github readme I don't have a solution besides using a png.
-
AIChat: A cli tool to chat with gpt-3.5/chatgpt in terminal.
Syntax highlighting: https://github.com/trishume/syntect
-
Will Treesitter ever be stable on big files?
I wonder if a plugin integrating syntect would be possible.
-
[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!
I love that idea! I think there might be a better way than just hardcoding all the comment types for all the languages, though. I'm using the syntect library which will parse the code based on syntax files, so I opened an issue there to see if they have anything that could help.
-
Is calling a Rust function from NodeJS via WASM like really slow?
Very recently, I stumbled onto a library called syntect, which is a syntax highlighting library, and I got interested in the project because it promises to be really fast.
markup
-
Give your brain time to think and remember
Btw github supports more than just markdown: https://github.com/github/markup#markups
-
Documentation generators and custom syntax highlighting
I'm not sure 4. works for colors/styling, style attributes are stripped: https://github.com/github/markup/issues/119
- Do you think we will see color text in GFM?
-
Hiding front matter block in github markdown
I found this issue, which does not show much traction: https://github.com/github/markup/issues/994
-
Hi DM's, what medium do you use to organise your campaign?
For sharing settings and lore with players, GitHub wiki. Understands Org and several other formats thanks to GitHub Markup, so I can copy in (and trim down) my original notes without much fuss.
- raw-markdown and rendered markdown
-
Include diagrams in your Markdown files with Mermaid
Re: https://github.com/github/markup/issues/533
I’m the main author of KeenWrite (see screenshots), a type of desktop Markdown editor that supports diagrams. It’s encouraging to see that Mermaid diagrams are being supported in GitHub. There are a few drawbacks on the syntax and implications of using MermaidJS.
First, only browser-based SVG renderers can correctly parse Mermaid diagrams. I’ve tested Apache Batik, svgSalamander, resvg, rsvg-convert, svglib, CairoSVG, ConTeXt, and QtSVG. See issue 2485. This implies that typesetting Mermaid diagrams is not currently possible. In effect, by including Mermaid diagrams, many documents will be restricted to web-based output, excluding the possibility of producing PDF documents based on GitHub markdown documents (for the foreseeable future).
Second, there are numerous text-to-diagram facilities available beyond Mermaid. The server at https://kroki.io/ supports Mermaid, PlantUML, Graphviz, byte fields, and many more. While including MermaidJS is a great step forward, supporting Kroki diagrams would allow a much greater variety. (Most diagrams produced in MermaidJS can also be crafted in Graphviz, albeit with less terse syntax.)
Third, see the CommonMark discussion thread referring to a syntax for diagrams. It’s unfortunate that a standard “namespace” concept was not proposed.
Fourth, KeenWrite integrates Kroki. To do so, it uses a variation on the syntax:
``` diagram-mermaid
-
Footnotes now supported in GitHub Markdown
I thought it only rendered files in the repo (match by extension). Does GH also allow asciidoc(tor) syntax in comments and issues?
* Note: Sadly, include is not supported on GH. https://github.com/github/markup/issues/1095
- Compare AsciiDoc and Markdown
What are some alternatives?
confy - 🛋 Zero-boilerplate configuration management in Rust
org-mode - This is a MIRROR only, do not send PR.
ammonia - Repair and secure untrusted HTML
gitlab-foss
guess-that-lang - CLI game to see how fast you can guess the language of a code block!
libasciidoc - A Golang library for processing Asciidoc files.
rust-build.action - Automate publishing Rust build artifacts for GitHub releases through GitHub Actions
commonmark-spec - CommonMark spec, with reference implementations in C and JavaScript
sublime-monokai-extended - Extends Monokai from Soda with additional syntax highlighting for Markdown, LESS, HTML, Handlebars and more.
aasvg - Turn ASCII art into SVG
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
cmark-gfm - GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C