diff options
Diffstat (limited to 'markup.go')
-rw-r--r-- | markup.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -11,15 +11,11 @@ type LineType int8 const ( TextLine LineType = iota - LinkLine HeadingLine UnorderedListItem ) func getLineType(line string) LineType { - if strings.HasPrefix(line, "=>") { - return LinkLine - } if strings.HasPrefix(line, "#") { return HeadingLine } @@ -59,8 +55,6 @@ func (m Markup) html() string { continue } switch lineType { - case LinkLine: - retval += fmt.Sprintf("\n<pre>%s</pre>", line) case HeadingLine: retval += fmt.Sprintf("\n<h3>%s</h3>", line) case UnorderedListItem: |