question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Outline Numbering for headings

See original GitHub issue

This isn’t an issue, but a feature request. The extension is fantastic, but the only thing missing for me is automatic numbering of headings, that can be updated on Save.

Use Case 1 - new doc with no numbers

the following document:

# Introduction
## Background

will have numbers prefixed on save or activation

# 1 Introduction
## 1.1 Background

Use Case 2 - update document with existing numbers

the following document will become:

# 1 Introduction
## 1.1 Background
## Open Issues
## 1.2 Team Composition

will have new numbers added and old numbers changed on save or activation

# 1 Introduction
## 1.1 Background
## 1.2 Open Issues
## 1.3 Team Composition

The numbers here should match those in the TOC


By @yzhang-gh:

TODO

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
yzhang-ghcommented, May 30, 2020
numbering

Please try out the dev build.

2reactions
dlidstromcommented, May 28, 2020

This is indeed a very nice feature. However, it will number from 1.x and never reach 2.x, if one wants to follow markdown “rules” to only have a single top-level header. Perhaps, if the top-level header is omitted from toc, then the second level headers could be 1.x, 2.x, etc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Number your headings - Microsoft Support
Open your document that uses built-in heading styles, and select the first Heading 1. · On the Home tab, in the Paragraph group,...
Read more >
How to create multilevel numbered headings in Word 2016
Open this dialog to create a new multilevel list. · Select the level you want to modify. · Select a numbering format to...
Read more >
Creating Report-Style Numbered Headings In Mac Pages
https://macmost.com/e-2244 If you need the headings in your document to be automatically numbered, you can adapt the numbered lists styles ...
Read more >
How to create automatically numbered document headings in ...
You can choose the Heading style from the list, type the actual heading you wish to use, and press <Enter> to start typing...
Read more >
How to create numbered headings or outline numbering
It took a while to set up all your numbering. If you want your hard work to be available to all your new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found