Add space to fix generation of README

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2021-12-23 22:18:57 -06:00
parent a47ce7b08d
commit 476639ee9b
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,7 @@ To create an `emdbed` section, use a header and footer as follows
<!-- 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 -->
} }