Giter Site home page Giter Site logo

markdown_index's Issues

正则有点问题

image

#1. a
#2. b
#3. c
...
#10. aa
#11. bb

第2次使用之后会变成

#1. a
#2. b
#3. c
...
#10. 1aa
#11. 1bb

增加只给h2添加序号的功能

希望增加只给 h2 增加序号的功能,如:

# a
## b
### c

## d
### e

## f

格式化为:

# a
## 1. b
### c

## 2. d
### e

## 3. f

指令可以如下:

markdown add index h2

How to add index only after second-level titles?

In a markdown file, H1 title usually is the document name. So, we don't want to add index to the H1 title.

How to realize it? Can you consider adding a configuration to enable/disable H1 numbering?

不能添加tab键

尝试了 \t \t '\t' 都无效,建议增加tab键缩进 自动添加 标号 例如下面:

原文
**
陕西
西安

转换
1.**
1.1.陕西
1.1.1西安

'#' in code

hello, I'm a Chinese user. I like this plugin.
But recently, I wrap python code in markdown and use the plugin to add index automaticlly. It went wrong that all python comments in markdown added index. Like this

image

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.