diff options
| author | Craig Jennings <craigmartinjennings@gmail.com> | 2024-04-01 11:42:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-01 11:42:23 -0500 |
| commit | 3e8f5a04f7a3e0fed71c4c8ffa52d45a609e0e1b (patch) | |
| tree | 6f9d4b4982e6c737484b0fdd732910f39d1632eb | |
| parent | 84b79776b53e83bbe9563e51ef1099f42ef40183 (diff) | |
Update README.md
attempted code block and image link fix
| -rw-r--r-- | README.md | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -24,33 +24,38 @@ Enjoy! Set a default cities list for completion: ```elisp -(setq wttrin-default-cities '( "Berkeley, California" "Taipei, Taiwan" "Tainan, Taiwan"))``` +(setq wttrin-default-cities '( "Berkeley, California" "Taipei, Taiwan" "Tainan, Taiwan")) +``` You can also specify default HTTP request Header for Accept-Language: ```elisp -(setq wttrin-default-accept-language '("Accept-Language" . "zh-TW")))``` +(setq wttrin-default-accept-language '("Accept-Language" . "zh-TW"))) +``` As well as the unit system, "m" for metric and "u" for USCS/imperial (the default is to choose based on your location): ```elisp -(setq wttrin-unit-system "m")``` +(setq wttrin-unit-system "m") +``` If you want the weather to display in a monospaced font other than your default, you may specify it: ```elisp -(setq wttrin-font-name "Hack Nerd Font Mono")``` +(setq wttrin-font-name "Hack Nerd Font Mono") +``` You can specify the font height as well: ```elisp -(setq wttrin-font-name "Liberation Mono")``` +(setq wttrin-font-name "Liberation Mono") +``` Then run `M-x wttrin` to display the weather. After the weather is displayed you may press `q` to quit the buffer or `g` to query the weather for another location. - + ## LICENSE |
