mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-18 09:53:40 -05:00
fix(notes): preserve file encoding when writing to filesystem (#59)
This commit is contained in:
44
tests/fixtures/CP1250.md
vendored
Normal file
44
tests/fixtures/CP1250.md
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
date_created: 2022-12-22 # confirm dates are translated to strings
|
||||
tags:
|
||||
- foo
|
||||
- bar
|
||||
frontmatter1: foo
|
||||
frontmatter2: ["bar", "baz", "qux"]
|
||||
??: ??
|
||||
# Nested lists are not supported
|
||||
# invalid:
|
||||
# invalid:
|
||||
# - invalid
|
||||
# - invalid2
|
||||
french1: "Voix ambigu<67> d'un cour qui, au z<>phyr, pr<70>fere les jattes de kiwis"
|
||||
---
|
||||
|
||||
# Heading 1
|
||||
|
||||
inline1:: foo
|
||||
inline1::bar baz
|
||||
**inline2**:: [[foo]]
|
||||
_inline3_:: value
|
||||
??::??
|
||||
key with space:: foo
|
||||
french2:: Voix ambigu<67> d'un cour qui, au z<>phyr, pr<70>fere les jattes de kiwis.
|
||||
|
||||
> inline4:: foo
|
||||
|
||||
inline5::
|
||||
|
||||
foo bar [intext1:: foo] baz `#invalid` qux (intext2:: foo) foobar. #tag1 Foo bar #tag2 baz qux. [[link]]
|
||||
|
||||
The quick brown fox jumped over the lazy dog.
|
||||
|
||||
# tag3
|
||||
|
||||
---
|
||||
|
||||
## invalid: invalid
|
||||
|
||||
```python
|
||||
invalid:: invalid
|
||||
#invalid
|
||||
```
|
||||
2
tests/fixtures/test_vault/sample_note.md
vendored
2
tests/fixtures/test_vault/sample_note.md
vendored
@@ -11,6 +11,7 @@ frontmatter2: ["bar", "baz", "qux"]
|
||||
# invalid:
|
||||
# - invalid
|
||||
# - invalid2
|
||||
french1: "Voix ambiguë d'un cœur qui, au zéphyr, préfère les jattes de kiwis"
|
||||
---
|
||||
|
||||
# Heading 1
|
||||
@@ -21,6 +22,7 @@ inline1::bar baz
|
||||
_inline3_:: value
|
||||
🌱::🌿
|
||||
key with space:: foo
|
||||
french2:: Voix ambiguë d'un cœur qui, au zéphyr, préfère les jattes de kiwis.
|
||||
|
||||
> inline4:: foo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user