mirror of
https://github.com/makew0rld/amfora.git
synced 2024-12-04 14:46:29 -05:00
💬 Switch to proper unicode bullet
This commit is contained in:
parent
abfdb58690
commit
5c421e8618
@ -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/),
|
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).
|
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
|
## [1.1.0] - 2020-06-24
|
||||||
### Added
|
### Added
|
||||||
- **Bookmarks** (#10)
|
- **Bookmarks** (#10)
|
||||||
|
@ -103,7 +103,7 @@ func convertRegularGemini(s string, numLinks int, width int) (string, []string)
|
|||||||
// Lists
|
// Lists
|
||||||
} else if strings.HasPrefix(lines[i], "* ") {
|
} else if strings.HasPrefix(lines[i], "* ") {
|
||||||
if viper.GetBool("a-general.bullets") {
|
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
|
// Optionally list lines could be colored here too, if color is enabled
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user