No description
Find a file
Dilantha Nanayakkara 7d38c802e2 Release version 1.0.2
2024-12-07 10:54:59 +11:00
.github/workflows release workflow 2024-11-30 10:40:14 +11:00
.editorconfig unordered list formatter 2024-11-29 23:27:32 +11:00
.eslintignore unordered list formatter 2024-11-29 23:27:32 +11:00
.gitignore unordered list formatter 2024-11-29 23:27:32 +11:00
bump-version.sh Release version 1.0.2 2024-12-07 10:54:59 +11:00
esbuild.config.mjs unordered list formatter 2024-11-29 23:27:32 +11:00
jest.config.js Wrap get selection with something selected. Adding tests. 2024-12-07 10:30:51 +11:00
LICENSE Initial commit 2024-11-29 22:40:23 +11:00
link-formatter.gif add demo to README file 2024-11-30 00:41:33 +11:00
main.ts Import cleanup and adding tslib 2024-12-07 10:36:12 +11:00
Makefile Release version 1.0.2 2024-12-07 10:54:59 +11:00
manifest.json Release version 1.0.2 2024-12-07 10:54:59 +11:00
package.json Release version 1.0.2 2024-12-07 10:54:59 +11:00
pnpm-lock.yaml Import cleanup and adding tslib 2024-12-07 10:36:12 +11:00
README.md Release version 1.0.2 2024-12-07 10:54:59 +11:00
release.sh Release version 1.0.2 2024-12-07 10:54:59 +11:00
tsconfig.json Wrap get selection with something selected. Adding tests. 2024-12-07 10:30:51 +11:00
utils.test.ts Wrap get selection with something selected. Adding tests. 2024-12-07 10:30:51 +11:00
utils.ts Wrap get selection with something selected. Adding tests. 2024-12-07 10:30:51 +11:00

Link Formatter

Formats a block of links into a clean markdown list in Obsidian.

Here I'm pasting links from Firefox bookmarks and formatting them.

Pasting and formatting

Installing from BRAT

First install the BRAT plugin.

Then either from the BRAT settings page, or from the command palette, select "Add beta plugin". Paste the plugin URL https://github.com/dilantha/obsidian-link-formatter and then install.

How to use

Once installed select the links you want to format and search for Link Formatter: Format links to unordered list in the command pallet.

Once you select that the links will be formatted. You can also setup a hotkey for this command.

Development

This plugin uses a Makefile to streamline development tasks. Here are the available commands:

  • make install - Install dependencies using pnpm
  • make build - Build the project
  • make test - Run tests
  • make dev - Run in development mode with auto-rebuilding
  • make clean - Clean build artifacts
  • make all - Run install, build, and test in sequence

For version management and releases:

  • make bump-major - Bump major version number
  • make bump-minor - Bump minor version number
  • make bump-patch - Bump patch version number
  • make release - Release the current version (create git tag and push)

Link to plugin Buy me a coffee