Commit 29f02e13 authored by Ma_124's avatar Ma_124

fixing formatting in godoc

parent 00a600ef
Pipeline #45981101 passed with stages
in 2 minutes and 1 second
......@@ -6,6 +6,7 @@ import (
"strings"
)
// Parses the code according to this pattern:
// * [<name>](<url>) - <desc>
var IFFMarkdown = &InputFileFormat{parseSimpleBulletMarkdownLine}
......@@ -22,11 +23,13 @@ func parseSimpleBulletMarkdownLine(out io.Writer, l string, outFF *OutputFileFor
}
}
// Prints the code according to this pattern:
// | Name | Desc |
// |-----------------|--------|
// | [<name>](<url>) | <desc> |
var OFFSimpleMarkdown = &OutputFileFormat{writeLiteralMd, writeSimpleItemMd, nil, nil}
// Prints the code according to this pattern:
// | Stars | Forks | Issues | Last Commit | Name | Desc |
// |---------|---------|----------|---------------|-----------------|--------|
// | <stars> | <forks> | <issues> | <last commit> | [<name>](<url>) | <desc> |
......
......@@ -6,6 +6,7 @@ import (
"strings"
)
// Parses the code according to this pattern:
// <name>\t<url>\t<desc>
// "literal line
// 'literal without newline
......@@ -56,6 +57,7 @@ func parseTabSepLine(out io.Writer, l string, outFF *OutputFileFormat, ctx *Ctx)
outFF.Item(out, lps[0], lps[1], lps[2], ctx)
}
// Prints the code according to this pattern:
// <name>\t<url>\t<desc>
// "literal line
// 'literal without newline
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment