Giter VIP home page Giter VIP logo

tree-sitter-markdoc's Introduction

tree-sitter-markdoc

CI LICENSE

Markdoc grammar for tree-sitter


Using with Neovim

  1. Define a new filetype for markdoc.
vim.filetype.add({
  extension = {
    mdoc = "markdoc",
  },
})
  1. Add markdoc parser config in nvim-treesitter.
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
parser_config.markdoc = {
  install_info = {
    url = "https://github.com/markdoc-extra/tree-sitter-markdoc",
    files = { "src/parser.c" },
    branch = "main",
   },
  filetype = "markdoc",
}
  1. Copy queries to ~/.config/nvim/queries/markdoc.

  2. Run :TSInstall markdoc

References

tree-sitter-markdoc's People

Contributors

askoufis avatar mohitsinghs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tree-sitter-markdoc's Issues

Archiving Organization

I've decided to archive this organization on 21st September 2023.
Following are the reasons โ€”

  • Since start, all the tools in this organization have relied on a patch part of which is mentioned in an open issue. With each releases of markdoc that patch gets complicated and hard to maintain.
  • There is an official extension and language server now with a lot of features.
  • I don't believe editors other than VSCode will be supported by the team. See closed discussion
  • I am no longer using Markdoc due to the effort I've to put to use it. I've built a closed source library on the top of remark which fulfills my use cases and is comparatively much easier to maintain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.