GithubHelp home page GithubHelp logo

chenghm123 / md-writer-qiniu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhuochun/md-writer

1.0 0.0 0.0 821 KB

✒️ Make Atom a better Markdown/AsciiDoc editor for writers and bloggers

Home Page: https://atom.io/packages/markdown-writer

License: MIT License

CoffeeScript 97.41% JavaScript 1.97% Less 0.62%

md-writer-qiniu's Introduction

Markdown-Writer for Atom

Apm Version Apm Downloads Reviewed by Hound

Adds tons of features to make Atom a better Markdown/AsciiDoc editor!

Works great with static blogging as well. Try it with Jekyll, Octopress, Hexo or any of your favorite static blog engines.

Insert Image

More GIFs Here: Create New Post, Insert Reference Link, Remove Reference Link.

Table of Contents (click to expand)

Features

UPDATEING:在原有基础的功能上做了微量修改(图片传到七牛)

1. 本地图片文件如果选择复制到站点则不会上传到七牛 同原逻辑

2. !!本地图片不选择复制到站点只会上传到七牛 原功能缺失!!

3. 截图图片文件如果选择保存到站点则不会上传到七牛 同原逻辑

** clone后的文件夹名称必须是markdown-writer和packagename一致 否则功能会有问题 **

cd ~/.atom/packages
git clone https://github.com/chenghm123/md-writer-qiniu.git markdown-writer

如果有任何BUG可以联系我修改、联系方式: QQ邮箱

Blogging

  • Create new draft with front matters (setup^).
  • Create new post with front matters (setup^).
  • Publish draft moves a draft to post's directory with front matters (date, published) auto updated.
  • Manage tags and categories in front matters (setup*).
  • Custom fields in front matters (setup*).
  • Project/Blog specific settings supported (setup+).

General

  • Table of contents (TOC) (markdown-writer:insert-toc).
    • Update table of content (markdown-writer:update-toc).
    • Following options (global/inline) are supported:
      • depthFrom, depthTo: range of headings to be displayed.
      • insertAnchor: insert TOC with anchor link.
  • Insert link (shift-cmd-k) and save links for next time.
    • Insert inline link.
    • Insert reference link with title. Use - in title field to create an empty title reference link.
    • Remove link (and its reference) after URL is deleted.
    • Search and insert published posts by title in blog (setup*).
  • Insert footnote (markdown-writer:insert-footnote), and edit footnote labels.
  • Insert image from file or clipboard (shift-cmd-i) with preview.
    • Save or copy the image to your blog's images directory (customize).
  • Insert table (markdown-writer:insert-table) and jump to next table cell (cmd-j cmd-t).
  • Format table (markdown-writer:format-table) with customizable table alignments.
  • Continue lists and table rows when press enter (customize).
  • Correct ordered list numbers (markdown-writer:correct-order-list-numbers).
  • Toggle headings: ctrl-alt-[1-5] to switch among H1 to H5.
  • Toggle text styles (customize):
    • code (cmd-')
    • bold (cmd-b)
    • italic (cmd-i)
    • strike through (cmd-h)
    • '''code block''' (shift-cmd-")
    • <kbd>key</kbd> (cmd + k)
    • - unordered list (shift-cmd-U)
    • 0. ordered list (shift-cmd-O)
    • > blockquote (shift-cmd->)
    • - [ ] task list (markdown-writer:toggle-task)
  • Jumping commands:
    • Jump to previous heading (cmd-j cmd-p)
    • Jump to next heading (cmd-j cmd-n)
    • Jump to next table cell (cmd-j cmd-t)
    • Jump to reference marker/definition (cmd-j cmd-d)
  • Folding commands:
    • Fold all headings (markdown-writer:fold-headings)
    • Fold and focus current heading (markdown-writer:focus-current-heading)
    • Fold all inline links (markdown-writer:fold-links)
  • Open links:
    • Open link under cursor in browser (markdown-writer:open-link-in-browser).
    • Open link under cursor in editor (markdown-writer:open-link-in-file).
  • Markdown cheat sheet (markdown-writer:open-cheat-sheet).

CriticMarkup

Following CriticMarkup commands are supported:

  • Addition {++ ++} (markdown-writer:toggle-addition-text)
  • Deletion {-- --} (markdown-writer:toggle-deletion-text)
  • Substitution {~~ ~> ~~} (markdown-writer:toggle-substitution-text)
  • Comment {>> <<} (markdown-writer:toggle-comment-text)
  • Highlight {== ==}{>> <<} (markdown-writer:toggle-highlight-text)

AsciiDoc

AsciiDoc is supported with language-asciidoc installed.

Plugins

Toolbar for Markdown Writer is available at tool-bar-markdown-writer.

Installation

  • In Atom, go to Settings (cmd-,) -> Install -> Search Markdown Writer.
  • Or, run apm install markdown-writer.

After installation, you can find and trigger any feature through:

  • Open Command Palette (shift-cmd-P), enter Markdown Writer and find all the commands
  • Or, go to menu Packages -> Markdown Writer.

Setup

Execute command Markdown Writer: Create Default keymaps to add the recommended keymaps to your configs. You can modify them based on your needs (wiki).

  • Enter, Tab, Shift-Tab are registered by default. You can disable them in Package's Settings > Keybindings.

Configure your Package's Settings. Menu: File -> Settings (cmd-,) -> Packages -> Markdown-Writer -> Settings.

  • To manage tags/categories in front matter, follow this setup.
  • To manage all/advanced configurations (e.g. project specific settings, change italic text styles), follow this setup.

Contributing

Your contributions are really appreciated. You can follow CONTRIBUTING guide to get everything started.

Project

md-writer-qiniu's People

Contributors

zhuochun avatar olafklingt avatar grandsong avatar scott-wilson avatar chenghm123 avatar dependabot[bot] avatar afontaine avatar timnew avatar d2s avatar izuzak avatar schedutron avatar salbertson avatar zhengpd avatar ngasull avatar

Stargazers

Luoei avatar

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.