Code Monkey home page Code Monkey logo

Comments (5)

xmu714 avatar xmu714 commented on May 16, 2024 1

我是Linux和Windows用户,没得Alfred用,不过找到一个espanso,折腾了一番倒是不错,甚至触发关键词之后全局可替换,连快捷键都省了

from vscode-markdown-editor.

zaaack avatar zaaack commented on May 16, 2024

大概率是不行的,因为这个编辑器是基于vscode的webview panel的,和内置编辑器是完全不同的panel, snippets功能需要单独实现。。

from vscode-markdown-editor.

xmu714 avatar xmu714 commented on May 16, 2024

那要是单独实现的话难吗,我只需要设计一个能匹配关键字然后按下快捷键可以提示补全结构的就行,例如vscode这样:

"Latex - bmatrix (alias)": {
        "prefix": "bmatrix",
        "body": ["\\begin{bmatrix}","\t$1 & $2 \\\\\\\\","\t$3 & $4 \\\\\\\\$5","\\end{bmatrix} $0"]
    }

根据关键字,按给定格式填充,至于按tab切换$+数字位置的功能,不好做的话可以直接用空格占位置

from vscode-markdown-editor.

zaaack avatar zaaack commented on May 16, 2024

@xmu714 我有空再看看,可以先尝试使用 第三方 工具实现,比如 alfred 的 snippets 扩展, https://zhuanlan.zhihu.com/p/33753656

from vscode-markdown-editor.

yfzhao20 avatar yfzhao20 commented on May 16, 2024

同样求这个功能,是否有可能为这个插件开发snippets功能(或者能够通过某种办法调用vscode的snippets)?

可能很多人转到vscode来写markdown都是为了snippets吧。当然我在用hyper snips插件,看起来比内置的snippets更加强大,但是同样的在使用这个插件时不起作用😂

感谢!

from vscode-markdown-editor.

Related Issues (20)

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.