Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to hide in-document properties #16

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# obsidian-toggle-meta-yaml-plugin
# Obsidian Plugin to Toggle Meta YAML and In-Document Properties View

**Tips: The latest version of Obsidian already offers meta yaml folding feature.**
This plugin is simple: It gives you the ability to toggle visibility of meta YAML and in-document properties. For convenient switching, bind the command `Toggle Meta YAML: Toggle` to a hotkey, like: `Cmd + Shift + M`.

This is a simple plugin to toggle meta yaml.

The plugin only implements one thing that show or hide meta yaml in you markdown.

For convenient switching, you can bind the command `toggle-meta-yaml: toggle` to you hotkey, like `cmd+shift+m`.

## License
[toggle-meta-yaml](https://github.com/hua03/obsidian-toggle-meta-yaml-plugin) is licensed under MIT license. Refer to [LICENSE](Licence) for more information.
**Tip:** The latest version of Obsidian already has an option to hide meta YAML and in-document properties. This plugin provides ability to swiftly and conveniently hide and show them with a hotkey.
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"id": "obsidian-toggle-meta-yaml-plugin",
"name": "Toggle Meta Yaml",
"version": "1.2.0",
"name": "Toggle Meta YAML and In-Document Properties",
"version": "1.2.1",
"minAppVersion": "0.15.0",
"description": "this is a simple plugin to toggle meta yaml.",
"description": "This is a simple plugin to toggle visibility of meta YAML and in-document properties.",
"author": "hua03",
"authorUrl": "https://github.com/hua03",
"isDesktopOnly": false
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "obsidian-toggle-meta-yaml-plugin",
"version": "1.2.0",
"description": "This is a simple plugin to toggle meta yaml.",
"version": "1.2.1",
"description": "This is a simple plugin to toggle visibility of meta YAML and in-document properties.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
Expand All @@ -12,7 +12,7 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",
"@types/node": "^16.18.86",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
Expand All @@ -22,8 +22,8 @@
"typescript": "4.7.4"
},
"dependencies": {
"@codemirror/language": "^6.6.0",
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.9.2"
"@codemirror/language": "^6.10.1",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.25.1"
}
}
Loading