Skip to content

dario-baumberger/obsidian-json-table

Repository files navigation

Build and Test Obsidian Downloads GitHub stars License: MIT

Obsidian JSON table

Simply switch between JSON and tables.

Generate a table from a JSON string or a URL (which returns JSON) in your notes. Generate JSON from a table in your notes.

Commands

Command Description
Generate table from selected JSON Creates a Markdown table based on your selected JSON. The JSON needs to be valid.
Generate table from selected JSON URL Creates a Markdown table based on JSON data from selected URL. The URL needs to return a valid JSON.
Generate JSON from a selected table Creates JSON based on your selected table.

Examples

Table

| Name | Age | City   |
| ---- | --- | ------ |
| Doe  | 22  | Berlin |
| Pan  | 34  | Mumbai |

Table to JSON

JSON

[{"Name":"Doe","Age":"22","City":"Berlin"},{"Name":"Pan","Age":"34","City":"Mumbai"}]

JSON to Table

URL

  • https://raw.githubusercontent.com/dario-baumberger/obsidian-json-table/master/demo/example.json
  • https://jsonplaceholder.typicode.com/todos

URL to Table

Installation

Community Plugin

  • Follow this link Obsidian Plugin
  • Or open Obsidian Settings, go to Community Plugins, browse "JSON Table" click install and activate.

Manually installing the plugin

  • Go to the latest Releases
  • Download main.js, manifest.json
  • save into your vault VaultFolder/.obsidian/plugins/obsidian-json-to-table/

Contribution

  • Feel free to open an issue if you miss something
  • Feel free to open a Pull request to implement a feature
    • Please extend tests if you add logic