1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00

💬 Indent bullet lines one more - fixes #40

This commit is contained in:
makeworld 2020-07-07 21:33:24 -04:00
parent 543d15abfc
commit fc11a308f1

View File

@ -155,7 +155,7 @@ func convertRegularGemini(s string, numLinks, width int) (string, []string) {
} else if strings.HasPrefix(lines[i], "* ") {
if viper.GetBool("a-general.bullets") {
// Wrap list item, and indent wrapped lines past the bullet
wrappedItem := wrapLine(lines[i][1:], width, " ", "", false)
wrappedItem := wrapLine(lines[i][1:], width, " ", "", false)
// Add bullet
wrappedItem[0] = " \u2022" + wrappedItem[0]
wrappedLines = append(wrappedLines, wrappedItem...)