1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-19 19:25:24 +00:00

💬 Switch to proper unicode bullet

This commit is contained in:
makeworld 2020-06-27 11:22:45 -04:00
parent abfdb58690
commit 5c421e8618
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Changed
- Actual unicode bullet symbol is used for lists, U+2022
## [1.1.0] - 2020-06-24
### Added
- **Bookmarks** (#10)

View File

@ -103,7 +103,7 @@ func convertRegularGemini(s string, numLinks int, width int) (string, []string)
// Lists
} else if strings.HasPrefix(lines[i], "* ") {
if viper.GetBool("a-general.bullets") {
lines[i] = " 🞄" + lines[i][1:]
lines[i] = " \u2022" + lines[i][1:]
}
// Optionally list lines could be colored here too, if color is enabled
}