Add space to fix generation of README
Signed-off-by: jolheiser <john.olheiser@gmail.com>main
parent
a47ce7b08d
commit
476639ee9b
|
@ -7,8 +7,9 @@ Given the same input, `emdbed` should give idempotent results.
|
||||||
To create an `emdbed` section, use a header and footer as follows
|
To create an `emdbed` section, use a header and footer as follows
|
||||||
```text
|
```text
|
||||||
<!-- emdbed: <file> [~<language>] [L<start-line>|/<start-regex>/] [L<end-line>|/<end-regex>/]
|
<!-- emdbed: <file> [~<language>] [L<start-line>|/<start-regex>/] [L<end-line>|/<end-regex>/]
|
||||||
<!-- /emdbed -->
|
<!-- /emdbed -->
|
||||||
```
|
```
|
||||||
|
**NOTE:** The above snippet has an extra space at the end in order to keep it from recognizing the footer when generating this README.
|
||||||
|
|
||||||
The regex is [Go flavored](https://golang.org/s/re2syntax), which you can test on [regex101](https://regex101.com/).
|
The regex is [Go flavored](https://golang.org/s/re2syntax), which you can test on [regex101](https://regex101.com/).
|
||||||
|
|
||||||
|
@ -45,6 +46,7 @@ func Example() {
|
||||||
//func main() {
|
//func main() {
|
||||||
// fmt.Println("Hello, world!")
|
// fmt.Println("Hello, world!")
|
||||||
//}
|
//}
|
||||||
|
//
|
||||||
// ```
|
// ```
|
||||||
//<!-- /emdbed -->
|
//<!-- /emdbed -->
|
||||||
}
|
}
|
||||||
|
@ -94,6 +96,7 @@ func Example() {
|
||||||
//func main() {
|
//func main() {
|
||||||
// fmt.Println("Hello, world!")
|
// fmt.Println("Hello, world!")
|
||||||
//}
|
//}
|
||||||
|
//
|
||||||
// ```
|
// ```
|
||||||
//<!-- /emdbed -->
|
//<!-- /emdbed -->
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue