Giter Club home page Giter Club logo

vscode-markdoc's Introduction

Markdoc

Language support for Markdoc
Visit markdoc.dev to learn more about markdoc

Release LICENSE version installs downloads


Usage

This extension enables Language support for Markdoc files ( files with .mdoc or .markdoc extensions ). You can also enjoy formatting, diagnostics and some other feature by using markdoc.experimental setting.

Screenshot

screenshot

Commands

  • Markdoc: Restart Language Server - This commands restarts Markdoc Language Server.

Settings

This extension provides following settings —

  • markdoc.experimental : This enables experimental language server and related features. ( boolean , default : false )
  • markdoc.serverPath : Custom path of markdoc language server binary (markdoc-ls).

Contributing

Make a PR to the repo if you want to improve this extension.

vscode-markdoc's People

Contributors

mohitsinghs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vscode-markdoc's Issues

What about vs code preview of markdoc files?

If I add this to my settings:

"files.associations": {
  "*.md": "markdoc"
}

The preview button is now gone?

Screenshot 2022-09-06 at 07 42 20

How do you write/preview markdoc with this extension - maybe I'm missing something.

Syntax highlighter now working

Hi, syntax highlighter doesn't work with other theme expect Tokyo Night, could you please try fixing this. Thanks in advance.

Auto closing brackets

Hi there,

Do you think it's possible to adapt VS Code's auto closing bracket system to include {% instead of just {. I have the following in my code settings:

"[markdoc]": {
    "editor.autoClosingBrackets": "always"
}

which automatically close the curly brackets ({{}) however it doesn't pick up the %.

If this is something out of scope for the project and just something to wait for until Stripe releases the official one, then I understand.

Thank you.

Markdoc server crashed.

The server crashed 5 times today I don't know what is going on but It seems like it Does not like how Astro is being used.

Markdoc config (Astro) detected at c:\Users\louis\Desktop\web-projects\ui\markdoc-test

c:\Users\louis\.vscode\extensions\mohitsingh.markdoc-0.6.0\node_modules\esbuild-wasm\lib\main.js:1063
        return callback(new Error(error), null);
                        ^

Error: The service was stopped: spawn node ENOENT
    at c:\Users\louis\.vscode\extensions\mohitsingh.markdoc-0.6.0\node_modules\esbuild-wasm\lib\main.js:1063:25
    at responseCallbacks.<computed> (c:\Users\louis\.vscode\extensions\mohitsingh.markdoc-0.6.0\node_modules\esbuild-wasm\lib\main.js:687:9)
    at ChildProcess.afterClose (c:\Users\louis\.vscode\extensions\mohitsingh.markdoc-0.6.0\node_modules\esbuild-wasm\lib\main.js:677:28)
    at ChildProcess.emit (node:events:526:28)
    at ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:478:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

You can use this repo to find out what is going on Markdoc Test Repo

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.