Code Monkey home page Code Monkey logo

markdown_index's Introduction

MarkdownIndex

UPDATE 2019/11/5:

  • Fix issue #8.

UPDATE 2019/2/1:

  • Fix Potential security vulnerability

UPDATE 2018/4/20:

  • Fix issue #5.

UPDATE 2018/2/4:

  • Fix issue #2.
  • Add configuration for index indocator.

thanks to firejq

1. Introduction(English Version)

1.1. Feature

markdown_index is an extension that can add serial numbers to your markdown title.

Suppose the original text is as follows:

# a
foolbar

## a-b
foolbar

## a-c
foolbar
foolbar

### a-c-d
foolbar

```
    This is code block
```

## a-e
foolbar

    This is code block too

# f
foolbar

Install markdown_index, run > markdown add index, you can automatically add the serial number, as follows:

# 1. a
foolbar

## 1.1. a-b
foolbar

## 1.2. a-c
foolbar
foolbar

### 1.2.1. a-c-d
foolbar

```
    This is code block
```

## 1.3. a-e
foolbar

    This is code block too

# 2. f
foolbar

1.2. Note

Note: Run command again can automatically update the serial number.

Note: You can configure index indicator in settings.json.

github: https://github.com/legendmohe/markdown_index

email: [email protected]

1.3. Contributor

2. 简介(简体中文版)

2.1. 功能

markdown_index是一个可以为你的markdown标题添加序号的插件。

假设原文如下所示:

# a
foolbar

## a-b
foolbar

## a-c
foolbar
foolbar

### a-c-d
foolbar

```
    This is code block
```

## a-e
foolbar

    This is code block too

# f
foolbar

安装markdown_index,运行 > markdown add index,即可自动添加序号,如下所示:

# 1. a
foolbar

## 1.1. a-b
foolbar

## 1.2. a-c
foolbar
foolbar

### 1.2.1. a-c-d
foolbar

```
    This is code block
```

## 1.3. a-e
foolbar

    This is code block too

# 2. f
foolbar

注:重复运行命令可以自动更新序号。

注:可以在settings.json中设置标题的记号,默认为‘#’。

github: https://github.com/legendmohe/markdown_index

email: [email protected]

2.2. 贡献者

markdown_index's People

Contributors

dependabot[bot] avatar legendmohe avatar yachenkang 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.