File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -75,3 +75,13 @@ Second Tab Three
7575</tab >
7676
7777</toggle >
78+
79+ ## Skip code with hash
80+
81+ ``` cli
82+ $ gto assign cv-class --version v0.1.13 --stage dev
83+ Created git tag 'cv-class#dev#1' that assigns stage to version 'v0.1.13'
84+ To push the changes upstream, run:
85+ git push origin cv-class#dev#1 #this is a comment
86+ #This is a comment
87+ ```
Original file line number Diff line number Diff line change @@ -76,7 +76,10 @@ Prism.languages.cli = {
7676 ...bash
7777 }
7878 } ,
79- comment : bash . comment
79+ comment : {
80+ pattern : / ( ^ | [ \s ^ " { \\ $ ] ) # .* / ,
81+ lookbehind : true
82+ }
8083}
8184
8285Prism . languages . dvc = Prism . languages . cli
Original file line number Diff line number Diff line change 11{
22 "name" : " @dvcorg/gatsby-theme-iterative" ,
3- "version" : " 0.1.21 " ,
3+ "version" : " 0.1.22 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "types" : " src/typings.d.ts" ,
You can’t perform that action at this time.
0 commit comments