Coder Social home page Coder Social logo

Comments (3)

yzhang-gh avatar yzhang-gh commented on July 22, 2024

Could you please explain with an example? I don't understand.

from vscode-markdown.

Danilux avatar Danilux commented on July 22, 2024

This plugin adds shortcuts like Ctrl + B to expand the selected text into **text**, but also adds button in the top right bar to do the same quicker?, like the b toggle (bold) button, I was wondering if one could add more buttons for toggling headings, code, etc, and also add buttons for things that are not part of the Commonmark spec, like adding a button to highlight text expanding the selected text into an HTML element 'text', sorry my english is horrible

from vscode-markdown.

yzhang-gh avatar yzhang-gh commented on July 22, 2024

To add button to editor menu bar, you can see this image which is from vscode docs

https://code.visualstudio.com/docs/extensionAPI/extension-points#_context-specific-visibility-of-command-palette-menu-items

image

The code in the largest circle defines the command markdown.showSource and its icon. Another circle add the command to the editor title (top right corner) when some conditions are met.


May I know whether it is a feature request or just a question?

from vscode-markdown.

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.