mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-23 15:29:52 +01:00
Added example with the expanded form for file (#2635)
Added one example where file does not use the short form, but the YAML expanded one described below the examples.
This commit is contained in:
parent
60233fccf8
commit
a3bdd1ff5d
@ -170,6 +170,13 @@ Next, create a ``font:`` section in your configuration:
|
||||
id: roboto
|
||||
size: 20
|
||||
|
||||
- file:
|
||||
type: gfonts
|
||||
family: Roboto
|
||||
weight: 900
|
||||
id: font2
|
||||
size: 16
|
||||
|
||||
- file: "fonts/tom-thumb.bdf"
|
||||
id: tomthumb
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user