autoNumberHeadings
autoNumberHeadings copied to clipboard
Auto Number Headings for Google Drive Documents
If you have subheadings this script will also place a point after the last number, e.g. "1.2.1. Some Heading". This commit ensures that the last point after a subheading will...
Thanks for this script. One small issue. When collaborating on a Gdoc, I need to leave a message at the top of the doc asking for comments to be made...
Is it possible to add keyboard shortcuts to the two functions?
If a header's text begins with a number, this script will remove the number when run. For example, if a header starts with a date such as "4/5/2020", it will...
Hello, Can a license file be added to the project (or as a comment) to aid in deciding this code is ok to use in a business setting with policy...
Missing parenthesis
Slightly modify the code to replace header numbering text substrings when both clearing and numbering instead of replacing the whole header. This prevents comments of the numbered header to be...
When you have headings such as: 1 Introduction 1.1 Something Else The style format for the heading level 2 (aka 1.1 Something Else in this example) will be stripped off.
1. headings is plural 1. heading's is possessive 1. headings' is plural possessive The last is preferred in this case, but looks kinda luls, so singular tense should be used...
Minor spelling fix. Git branch made as a hat dip to HTTPD's `mod_speling` ;) Ta for creating such a handy script, which should already exist. :)