obsidian-kindle-plugin
obsidian-kindle-plugin copied to clipboard
[BUG] Template Emoji Expands to Unicode
Describe the bug
Emojis in template expand to unicode instead of rendering as emoji.
Method of syncing
- [x] Amazon Kindle Reader
To Reproduce
Steps to reproduce the behaviour:
- Kindle Highlights > Templates > File content
- Template I'm using:
---
tag: 📥
alias: {{title}}
publish: false
date: (date("YYYY-MM-DD"))
type: [Book]
title: {{longTitle}}
author: [{{author}}]
image: {% if imageUrl %}{{imageUrl}}{% endif %}
published: {{publicationDate}}
isbn: {% if isbn %}"{{isbn}}"{% endif %}
url: {% if url %}{{url}}{% endif %}
reviewed: []
finished: []
rating: ☆☆☆☆☆
---
# {{longTitle}}
[]({{appLink}})
## Highlights
{{highlights}}
- Sync and preview output (see attached screenshot).
Expected behaviour
The emoji is supposed to render as an emoji not unicode.
Screenshots
Actual Output
Metadata
- OS: macOS Monterey (12.4)
- Plugin version: 1.8.1
- Obsidian version: 1.0.3 (Installer 1.0.0)
Note, Obsidian interprets the unicode as an emoji so not entirely an issue! Although, it would be nice if it rendered as expected.