mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
Fix snippets to magic words (#1148)
This commit is contained in:
parent
300afd6bec
commit
bba152e328
@ -1,7 +1,7 @@
|
||||
# Magic Word
|
||||
**Magic Words** are some characters that have special meanings. They will be evaluated to some pre-defined characters. For one simple example, `date` could be evaluated to the date of today.
|
||||
|
||||
VNote support snippets in most of the input widgets. For example, you could use snippet for the note name when creating a note.
|
||||
VNote support magic words in most of the input widgets. For example, you could use magic word for the note name when creating a note.
|
||||
|
||||
`%da% work log.md` will be evaluated as `20180128 work log.md` since `%da%` is a magic word which is defined as the date of today in the form `YYYYMMDD`.
|
||||
|
||||
@ -43,4 +43,4 @@ Now we got two magic words `vnote` (based on another magic word `datetime`) and
|
||||
|
||||

|
||||
|
||||
Now in edit mode, we could hit `Ctrl+E S D` to insert current date.
|
||||
Now in edit mode, we could hit `Ctrl+E S D` to insert current date.
|
||||
|
Loading…
x
Reference in New Issue
Block a user