Markdowneditor



Rich Markdown editor StackEdit’s Markdown syntax highlighting is unique. The refined text formatting of the editor helps you visualize the final rendering of your files.

A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.

  1. Atom is a modern, cross-platform, open-source, and very powerful text editor that can work.
  2. Free, open-source, full-featured Markdown editor. Synchronization is one of the biggest features of StackEdit. It enables you to synchronize any file in your workspace with other files stored in your Google Drive, your Dropbox and your GitHub accounts. This allows you to keep writing on other devices, collaborate with people you share the file with, integrate easily into your workflow.

See the change log for changes and road map.

Features

  • Powered by Markdig - the best markdown parser
  • Syntax highlighting
  • Live preview window with scroll sync
  • Mermaid chart support
  • CommonMark and GitHub flavored Markdown
  • High-DPI support
  • Drag 'n drop of images supported
  • Paste image from clipboard directly onto document
  • Outlining/folding of code blocks
  • Keyboard shortcuts
  • Light Bulbs
  • Brace completion with type-through
  • Lightning fast
  • Auto-generate HTML files

Syntax highlighting

All fonts can be changed in Tools -> Options -> Environment -> Fonts and Colors dialog.

GitHub and other flavors

Advanced markdown extensions are supported to give more features to the syntax. This includes pipe tables, emoji, mathematics and a lot more.

Live Preview Window

The preview window opens up on the right side of the document when it opens.

Every time the markdown document is modified, the preview window will update.

Any code blocks receives full syntax highlighting in the preview window. Here's an example of JavaScript code rendered.

Markdowneditor

The preview window is automatically scrolled to match the scroll position of the document. As the document is scrolled up and down, the preview window will follow.

Live preview can be disabled in the settings.

The syntax highlighter is powered by Prism

Custom stylesheets

The preview window supports loading of custom stylesheets. It will look for a file called md-styles.css in the same directory as the currently opened markdown file or any parent directory.

If no md-styles.css file is found it will look for it in %userprofile%. If it still isn't found it will use the built in stylesheet.

To generate a custom stylesheet, simply right-click inside the markdown editor document and select Add Custom Stylesheet...

The name of the custom stylesheet can be changed in the settings.

Drag 'n drop images

Drag an image directly from Solution Explorer onto the document to insert the appropriate markdown that will render the image.

Paste images

This is really helpful for copying images from a browser or for inserting screen shots. Simply copy an image into the clipboard and paste it directly into the document. This will prompt you for a file name relative to the document and then it inserts the appropriate markdown.

It will even parse the file name and make a friendly name to use for the alt text.

Outlining

Any fenced code and HTML blocks can be collapsed, so that this:

...can be collapsed into this:

Keyboard shortcuts

Markdown

Ctrl+B makes the selected text bold by wrapping it with **.

Markdown Editor C#

Ctrl+I makes the selected text italic by wrapping it with _.

Ctrl+Shift+C wraps the selected text in a code block.

Ctrl+Space checks and unchecks task list items.

Tab increases indentation of list items.

Shift+Tab decreases indentation of list items.

Markdown Editor For Linux

Ctrl+K,C wraps the selection with HTML comments.

Ctrl+K,U removes HTML comments surrounding the selection/caret.

Ctrl+PgUp moves caret to previous heading

Ctrl+PgDown moves caret to next heading

Light Bulbs

Markdown Editor Github

The suggested actions shown in light bulbs makes it easier to perform common tasks.

For instance, converting the selected text to a link will result in this:

Auto-generate HTML files

Markdown Editor Npm

By right-clicking any Markdown file in Solution Explorer, you can turn on automatic generation of a HTML file.

It will wrap the output rendered markdown in a HTML template that looks like this:

You can provide your own HTML template by dropping a file with the name md-template.html in the same or parent folder to the markdown file. Just make sure to include the [title] and [content] tokens in the template.

Settings

Control the settings for this extension under Tools -> Options -> Text Editor -> Markdown

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Markdowneditor

  • Sharing markdown file with images shouldn't be painful. Images can be uploaded to cloud server on macOS with integration of iPic Service.
    Hard to display retina image with correct size? Typora support <img> tag with customized size or zoom factor.
    When handling relative path of a local image file, you could set its base path towards the root folder of your static blog.
    Insert images will be quite easy via drag & drop.
    /* Display images, rather than text for images when writing */
  • Use your own css code to change font size, alignement, or even make some magics possible, such as Auto Numbering Headers.
    Type `[TOC]` to insert table of contents, all headings will be listed here.
    Set the href to headers, which will create a bookmark that allow you to jump to that section after clicking.
  • Arrange nested lists like a rich editor, by tab and shift+tab key.
    GFM task list supported. Able to manage simple todos in a markdown file.
    Use shortcut keys, context menu or touch bar to change list type from one to another.
  • Quickest steps to resize tables in Markdown file: just mouse dragging.
    Use shortcut keys to generate tables with given layouts. Type markdown directly is also supported.
  • Display line numbers can be turned on in preferences panel.
    Typora supports around 100 languages for syntax highlighting, covers all common programming languages.
  • Most MathJax extensions built-in, including mhchem, AMSmath, BBox, etc.
    Auto numbering math equations (enable in preference panel).
  • Draws simple SVG flow chart diagrams powered by flowchart.js.
    Generation of flowchart, sequence, gantt and more by mermaid engine.
    /* Draw diagrams from textual representation */
  • Set your the link targets towards a header, a markdown file, or an URL.
    All styles include Strong and emphasis can be correctly rendered in CJK charsets.
  • /* And other block styles */




Comments are closed.