Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"." after the last number #1

Open
rscaputo opened this issue Jun 21, 2017 · 5 comments
Open

"." after the last number #1

rscaputo opened this issue Jun 21, 2017 · 5 comments

Comments

@rscaputo
Copy link

Hi, @weituotian, excellent tool to organize headers, thank you!

I'm not a developer and I just want to know how could I put a "." after every last number too? Is it possible? Could you show me how?

Thanks again!

@weituotian
Copy link
Owner

sorry for late reply,
you could try Preference->Package Settings->Markdown Numbered Headers->Settings-Default

and you will see

{
  "h1": 0,
  "h2": 0,
  "h3": 0,
  "h4": 0,
  "h5": 0,
  "h6": 0,
  "depth":6,
  "dottype":"-",
  "logging": true
}

then change dottype from - to .

@Kristinita
Copy link

@weituotian, I think, that @rscaputo wants another option.

  1. If "dottype":"-",:
# 1 Sasha Amazing!

Any text.

### 1-1 Sasha Unbelievable!
  1. If "dottype":".",:
# 1 Sasha Amazing!

Any text.

### 1.1 Sasha Unbelievable!
  1. Expected behavior:
# 1. Sasha Amazing!

Any text.

### 1.1. Sasha Unbelievable!

It would be nice, if you add an option — dot after last number as in item «Expected behavior».

I'm sorry, I don't know rules of Chinese, but in Russian and English languages writer needs to be put a dot after number in header.

Thanks for a great plugin!

@weituotian
Copy link
Owner

@Kristinita thanks for your advice! i will add an option to decide add dot after last number or not! but i still need some time to do that.

@Kristinita
Copy link

@weituotian , thanks for responce! We will waiting this feature.

@weituotian
Copy link
Owner

@Kristinita
i had added this feature to the plugin in this commit
but i am confused about how to update the version number in sublime text3 package control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants