Warm tip: This article is reproduced from stackoverflow.com, please click
google-apps-script google-docs google-drive-api

number the headings

发布于 2020-04-19 09:48:22

Is it possible to number the headings in a Google Docs/Drive document?

Questioner
ZehnVon12
Viewed
74
Aitor 2019-03-20 16:22

If you want something more easy, there is a Google Add-On called "Table of Contents" that will allow you to number your headings.

To install this add-on:

  1. Click on the Add-Ons > Get Add-Ons.
  2. Click on the "Table of Contents" icon or search for this addon to install it

Then your Table of Contents should appear in your sidebar. Click on Heading Numbers Format menu, and choose 1.2.3

You have to reformat your document if you have an old one in order to 'refresh' the numbers, but actually the addon works very well.

I've seen the answer in this forum.