alexwforsythe / code-blocks

Syntax highlighting for Google Docs
https://www.alexwforsythe.com/code-blocks/
MIT License
701 stars 89 forks source link

Add line numbering options #74

Open SymonSaroar opened 6 years ago

SymonSaroar commented 6 years ago

Google doc's auto line numbering doesn't work after formatting. Please add options for line numbering, or make it compatible.

alexwforsythe commented 6 years ago

Hi. I wasn't aware Docs had built-in line numbering. Can you explain how to activate it or post an example?

SymonSaroar commented 6 years ago

it's triggered after starting numbering a line. for example 1. followed by a space.. If I trigger numbering, and paste raw code. docs finds new lines and automatically numbers them. uploading like that..

but after formatting, may be, it takes whole block as one line. uploading2

don't know if I am missing anything

vstollen commented 4 years ago

I would also love this feature. The "build-in line numbering" @SymonSaroar proposed looks like an enumeration, not line numbering.

wasmithee commented 2 years ago

Line numbers would be very nice.