Git Product home page Git Product logo

md_numbered_headers's Introduction

MD_numbered_headers

sublime text3 plugiin for markdown, auto insert/update/remove header numbers

inspired by MarkdownTOC, compatible with MarkdownTOC.

screenshot

1. install

  1. Preferences -> Browse Packages...
    screenshot

  2. git clone https://github.com/weituotian/md_numbered_headers.git

  3. then is ok

2. Quick Start

  1. Install the plugin
  2. Open your Markdown file
  3. Place the cursor at the position where you want to start to numbers headers
  4. Pick from menu: Tools > Markdown Numbered Headers > Insert / Update
  5. And the heders in the Markdown document was numbered
  6. Save the document and you are done
  7. Now you can go on and edit your document further

3. Configuration

You can use attributes to customize headres nums in a single Markdown document, but if you want to keep the same configuration accross multiple Markdown documents, you can configure your own defaults.

Pick: `Sublime Text > Preferences > Package Settings > Markdown Numbered Headers > Settings - User

Example: MarkdownNumberedHeaders.sublime-settings

{
  "h1": 0,
  "h2": 0,
  "h3": 0,
  "h4": 0,
  "h5": 0,
  "h6": 0,
  "depth":6,
  "dottype":"-",
  "logging": true,
  "last_number_dot":"."
}
Name Values default means
h1,h2,h3,h4,h5,h6 integer 0 the start counting num in each num
depth integer 6 define which header level start with
dottype string - use to Separate header nums,like 1-2-3
logging boolean true show the runtime log
last_number_dot string . the last dot type, like 1-2-3. or 1-2-3-

4. changelog

  • v1.0.3 the plugin in the Package Controll, may be older then the lastest

md_numbered_headers's People

Contributors

weituotian 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.