|
| 1 | +This is content before the embed |
| 2 | + |
| 3 | +<!-- gomarkdoc:embed:start --> |
| 4 | + |
| 5 | +<!-- Code generated by gomarkdoc. DO NOT EDIT --> |
| 6 | + |
| 7 | +# embed |
| 8 | + |
| 9 | +```go |
| 10 | +import "github.com/princjef/gomarkdoc/testData/embed" |
| 11 | +``` |
| 12 | + |
| 13 | +Package embed tests out embedding of documentation in an existing readme. This is an extra comment that is invalid. |
| 14 | + |
| 15 | +## Index |
| 16 | + |
| 17 | +- [func EmbeddedFunc\(param int\) int](<#EmbeddedFunc>) |
| 18 | + |
| 19 | + |
| 20 | +<a name="EmbeddedFunc"></a> |
| 21 | +## func [EmbeddedFunc](<https://github.com/princjef/gomarkdoc/blob/master/testData/embed/embed.go#L6>) |
| 22 | + |
| 23 | +```go |
| 24 | +func EmbeddedFunc(param int) int |
| 25 | +``` |
| 26 | + |
| 27 | +EmbeddedFunc is present in embedded content. |
| 28 | + |
| 29 | +Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>) |
| 30 | + |
| 31 | + |
| 32 | +<!-- gomarkdoc:embed:end --> |
| 33 | + |
| 34 | +This is content after the embed |
| 35 | + |
| 36 | +<!-- gomarkdoc:embed:start --> |
| 37 | + |
| 38 | +<!-- Code generated by gomarkdoc. DO NOT EDIT --> |
| 39 | + |
| 40 | +# embed |
| 41 | + |
| 42 | +```go |
| 43 | +import "github.com/princjef/gomarkdoc/testData/embed" |
| 44 | +``` |
| 45 | + |
| 46 | +Package embed tests out embedding of documentation in an existing readme. |
| 47 | + |
| 48 | +## Index |
| 49 | + |
| 50 | +- [func EmbeddedFunc\(param int\) int](<#EmbeddedFunc>) |
| 51 | + |
| 52 | + |
| 53 | +<a name="EmbeddedFunc"></a> |
| 54 | +## func [EmbeddedFunc](<https://github.com/princjef/gomarkdoc/blob/master/testData/embed/embed.go#L6>) |
| 55 | + |
| 56 | +```go |
| 57 | +func EmbeddedFunc(param int) int |
| 58 | +``` |
| 59 | + |
| 60 | +EmbeddedFunc is present in embedded content. |
| 61 | + |
| 62 | +Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>) |
| 63 | + |
| 64 | + |
| 65 | +<!-- gomarkdoc:embed:end --> |
| 66 | + |
| 67 | +This is content after the second embed |
| 68 | + |
| 69 | +<!-- gomarkdoc:embed:start --> |
| 70 | + |
| 71 | +<!-- Code generated by gomarkdoc. DO NOT EDIT --> |
| 72 | + |
| 73 | +# embed |
| 74 | + |
| 75 | +```go |
| 76 | +import "github.com/princjef/gomarkdoc/testData/embed" |
| 77 | +``` |
| 78 | + |
| 79 | +Package embed tests out embedding of documentation in an existing readme. |
| 80 | + |
| 81 | +## Index |
| 82 | + |
| 83 | +- [func EmbeddedFunc\(param int\) int](<#EmbeddedFunc>) |
| 84 | + |
| 85 | + |
| 86 | +<a name="EmbeddedFunc"></a> |
| 87 | +## func [EmbeddedFunc](<https://github.com/princjef/gomarkdoc/blob/master/testData/embed/embed.go#L6>) |
| 88 | + |
| 89 | +```go |
| 90 | +func EmbeddedFunc(param int) int |
| 91 | +``` |
| 92 | + |
| 93 | +EmbeddedFunc is present in embedded content. |
| 94 | + |
| 95 | +Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>) |
| 96 | + |
| 97 | + |
| 98 | +<!-- gomarkdoc:embed:end --> |
| 99 | + |
| 100 | +This is content after the third embed |
0 commit comments