2.0 KiB
2.0 KiB
Obsidian-flavor Markdown texts to LINE-flavor messages
The goal of this plugin is to convert Obsidian-flavored Markdown texts to messages based on LINE Messenger Chat message formats.
Simple texts conversions
Here are some supported Obsidian-flavored Markdown texts:
- bold
- italic
strike- ==emphasize==
quote
-
- unchecked
-
- checked
-
heading1
-
heading2
According the reference source in Formatting chat messages, it will convert them into:
- {bold}
- {italic}
- {~strike~}
- {
emphasize
} - {{quote}}
- {🟩} unchecked
- {✅} checked
- 【 heading1 】
- ▋heading2
The "{xxx}" should be replaced with a space character. For example, the "{*bold}" should be the " bold ".
Hierarchical Numbering List
If we have list texts like this:
%%%
- itemA
- ia1
- ia2
- itemB
- ib1
- ib2
- itemC
- ic1
- ic2
- ic21 %%%
Or this:
%%%
- itemA
- ia1
- ia2
- itemB
- ib1
- ib2
- itemC
- ic1
- ic2
- ic21 %%%
It will convert the list to hierarchical numbering list:
%%%
- itemA 1.1 ia1 1.2 ia2
- itemB 2.1 ib1 2.2 ib2
- itemC 3.1 ic1 3.2 ic2 3.2.1ic21 %%%
Each item in hierarchical list should be on a new line without any indents.
Adding your plugin to the community plugin list
- Check the plugin guidelines.
- Publish an initial version.
- Make sure you have a
README.md
file in the root of your repo. - Make a pull request at https://github.com/obsidianmd/obsidian-releases to add your plugin.
Manually installing the plugin
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/your-plugin-id/
.
Funding URL
You can include funding URLs where people who use your plugin can financially support it.
The simple way is to set the fundingUrl
field to your link in your manifest.json
file:
{
"fundingUrl": "https://buymeacoffee.com"
}