fix(docs-infra): always default to no linenums in `<aio-code>` (#31674)
Previously, `linenums` defaulted to true if the content was more than 10 lines long and false otherwise. Since in most cases linenums add unnecessary visual noise, this commit changes `linenums` to always default to false (regardless of the size of the content). It can be still be turned on by explicitly setting to true or a number. PR Close #31674
Showing
- aio/content/guide/docs-style-guide.md 9 additions, 11 deletionsaio/content/guide/docs-style-guide.md
- aio/content/marketing/test.html 5 additions, 5 deletionsaio/content/marketing/test.html
- aio/src/app/custom-elements/code/code.component.spec.ts 27 additions, 9 deletionsaio/src/app/custom-elements/code/code.component.spec.ts
- aio/src/app/custom-elements/code/code.component.ts 1 addition, 9 deletionsaio/src/app/custom-elements/code/code.component.ts
Please register or sign in to comment