mirror of
https://github.com/makew0rld/amfora.git
synced 2024-09-25 22:55:55 -04:00
💬 Indent bullet lines one more - fixes #40
This commit is contained in:
parent
543d15abfc
commit
fc11a308f1
@ -155,7 +155,7 @@ func convertRegularGemini(s string, numLinks, width int) (string, []string) {
|
|||||||
} else if strings.HasPrefix(lines[i], "* ") {
|
} else if strings.HasPrefix(lines[i], "* ") {
|
||||||
if viper.GetBool("a-general.bullets") {
|
if viper.GetBool("a-general.bullets") {
|
||||||
// Wrap list item, and indent wrapped lines past the bullet
|
// 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
|
// Add bullet
|
||||||
wrappedItem[0] = " \u2022" + wrappedItem[0]
|
wrappedItem[0] = " \u2022" + wrappedItem[0]
|
||||||
wrappedLines = append(wrappedLines, wrappedItem...)
|
wrappedLines = append(wrappedLines, wrappedItem...)
|
||||||
|
Loading…
Reference in New Issue
Block a user