Git Product home page Git Product logo

Comments (5)

liuchengxu avatar liuchengxu commented on July 26, 2024 1

Just realized that vim-markdown has a command :Toc, and also markdown-drawer. So it may be easier than I expected.

from vista.vim.

liuchengxu avatar liuchengxu commented on July 26, 2024

Is tagbar-markdown what you want? vista.vim could also do the job, but this feature possibly depends on #4 and may also need some additional parsing work at the first glance. I don't know when #4 will be resolved as I don't have to a great motivation to push it at this moment.

from vista.vim.

luzhlon avatar luzhlon commented on July 26, 2024

Yes, tarbar-markdown is exactly what i want. But i think vista's UI is more beautiful, and vista is more faster. 👍 👍 👍

from vista.vim.

liuchengxu avatar liuchengxu commented on July 26, 2024

@luzhlon Try this branch:

屏幕快照 2019-04-05 下午9 30 39

It's a rough implementation, it is not optimal to show toc in such a way in my opinion, the ideal way is at least to link the highlight of headers to the markdown syntax, e.g., markdownH1, but I'll leave it for now, hoping someone else could pick it up.

What's more, the markdown extension parser is not very smart and synchronous, so you may feel it not very swift. The solution is to write a little external parser program for the async purpose.

from vista.vim.

luzhlon avatar luzhlon commented on July 26, 2024

谢了大佬,我觉得这已经很不错了。我先试试,如果需要的话,我可以写个外部的解析器。

from vista.vim.

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.