-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hugo: add linenos option to code tabs
Added attribute linenos to code tab shortcode so code blocks (with a language set) will show line numbers, just as the regular code blocks. Testing: added linenos examples to /examples/shortcodes/code-tabs/ (see both data.yaml in the first code tabs example) For https://linear.app/usmedia/issue/CUE-333 Closes #436 as merged as of commit ec8ae3c6. Signed-off-by: Anne van Gorkom <[email protected]> Change-Id: Ib9f7ec440e20c6b7afd5e377c4924c4aa863afa2 Dispatch-Trailer: {"type":"trybot","CL":1172178,"patchset":1,"ref":"refs/changes/78/1172178/1","targetBranch":"alpha"}
- Loading branch information
1 parent
7250b84
commit 3a2843a
Showing
3 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters