No description
Find a file
2024-11-29 18:41:09 +09:00
.github/workflows Add release workflow 2024-11-28 13:52:43 +09:00
lib Fix requested changes 2024-11-29 18:13:39 +09:00
.editorconfig use LF instead of CRLF (#28) 2022-04-15 14:13:31 -04:00
.eslintignore fix .eslintignore (#48) 2023-01-19 10:06:51 -05:00
.eslintrc add version bump script (#10) 2022-01-22 16:13:50 -05:00
.gitignore Update .gitignore (#25) 2022-01-28 10:34:53 -05:00
.npmrc add version bump script (#10) 2022-01-22 16:13:50 -05:00
esbuild.config.mjs build: minify prod build 2023-11-15 14:10:43 -05:00
LICENSE Create LICENSE 2024-11-28 14:29:59 +09:00
main.ts Fix requested changes 2024-11-29 18:13:39 +09:00
manifest.json fix request 2024-11-29 18:41:09 +09:00
package-lock.json fix request 2024-11-29 18:41:09 +09:00
package.json fix request 2024-11-29 18:41:09 +09:00
README.md readme 2024-11-28 22:53:18 +09:00
styles.css Fix requested changes 2024-11-29 18:13:39 +09:00
tsconfig.json Fix inconsistent indentation 2024-01-19 21:14:58 +02:00
version-bump.mjs add version bump script (#10) 2022-01-22 16:13:50 -05:00
versions.json fix request 2024-11-29 18:41:09 +09:00

WikiDocs Obsidian Plugin

With the WikiDocs Obsidian Plugin, you can edit WikiDocs books directly within Obsidian.

Installing the Plugin

The plugin is currently under preparation.
Please wait a little longer.

Preparing to Use the Plugin

Once the WikiDocs plugin is installed in Obsidian, follow these steps:

Obtaining a WikiDocs API Token

An API token is required to use the plugin. This token is necessary for user authentication. You can generate an API token from the following menu:

[Login > Account Settings > Generate API Token]

Copy the displayed token value.

Configuring the Obsidian Plugin

After installing the plugin, you will see an option called [Community Plugins > WikiDocs Plugin] in the lower-left settings pane of Obsidian.

Click on this item and configure the settings as follows:

  • API Base URL: https://wikidocs.net/napi
  • API Token: Paste the token value you copied earlier.

Viewing WikiDocs Books

After installing the plugin, a "book icon" will appear at the bottom of the icons on the left side of the Obsidian screen.

Click this icon to open a popup window as shown below:

The books you are currently working on in WikiDocs will be displayed. Select the book you wish to edit. The book will then be downloaded and opened in Obsidian.

Sending to WikiDocs

After editing the book, use the "Send to WikiDocs" feature to update the changes to WikiDocs. Right-click on the "book title" in the Obsidian table of contents to see the "Send to WikiDocs" menu. Note that this menu does not appear when right-clicking on regular page titles.

Selecting "Send to WikiDocs" will apply the changes to WikiDocs.

Downloading from WikiDocs

"Download from WikiDocs" synchronizes Obsidian to match the WikiDocs book exactly. If you haven't sent your edits to WikiDocs using the "Send to WikiDocs" feature, the edited content may be lost, so proceed with caution. (This command ensures that the content in both WikiDocs and Obsidian is fully synchronized based on WikiDocs.)

Limitations

Here are some features that are available in WikiDocs but not in Obsidian:

Page Deletion Is Not Supported

Deleting a page can inadvertently remove its subpages as well. To prevent accidental deletions and irreversible data loss, page deletions made in Obsidian will not be reflected in WikiDocs. Pages can only be deleted directly in WikiDocs.

Parent Page Assignment Is Limited

WikiDocs organizes the table of contents by assigning parent pages. In Obsidian, pages with existing subpages can be moved, but pages without subpages cannot be moved under another page as a subpage.

  • Advanced features will enable this functionality in the future (details will be announced later).

Book Settings Cannot Be Modified

WikiDocs allows various book settings (e.g., book image, copyright, public/private status, advertisements), but in Obsidian, only the book's content can be edited.