RubyGems Navigation menu

kramdown-syntax_tree_sitter 0.6.0

This is a syntax highlighter plugin for Kramdown that leverages Tree-sitter's native syntax highlighter to highlight code blocks (and spans) when rendering HTML. Tree-sitter is a modern, general-purpose parsing library that outclasses many existing tools at the task of syntax highlighting. This plugin adapts Tree-sitter's native highlighter for Kramdown, so that Tree-sitter's superior highlighting capabilities can be easily leveraged in the context of rendering Markdown.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 0.6.0 May 31, 2024 (24.5KB)
  2. 0.5.0 May 18, 2023 (21KB)
  3. 0.4.0 April 15, 2023 (20.5KB)
  4. 0.3.0 January 11, 2023 (20KB)
  5. 0.2.0 December 08, 2022 (19.5KB)
全てのバージョンを表示(全6件)

Runtime依存関係 (3):

kramdown ~> 2.0
rake ~> 13.0
rutie ~> 0.0.4

必須要件:

This plugin is essentially an adapter for the Tree-sitter highlight library and hence requires a compatible Rust installation to function. It is officially compatible with the following environments: - Rust: 1.75, 1.76, 1.77, 1.78 - Platforms: MacOS, Linux

所有者:

プッシュ者:

作者:

  • Andrew T. Biehl

SHA 256チェックサム:

=

累計ダウンロード数 4,007

このバージョンのみ 419

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.0

新しいバージョンはMFAを必要とします: true

MFAで投稿されたバージョン: true

リンク: