GithubHelp home page GithubHelp logo

kometenstaub / copy-publish-url Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 3.0 60 KB

Copy or open the Obsidian Publish URL of a note. You can also open its Git commit history on GitHub.

License: MIT License

JavaScript 13.28% TypeScript 86.72%
obsidianmd obsidian-plugin

copy-publish-url's Introduction

Publish and GitHub URL plugin

This plugin adds a command which lets you copy the URL of a note for your Obsidian Publish site.

Optionally, as of v0.2.0, you can also enable a file menu entry. Thank you to @Mara-Li for the contribution.

It doesn't copy the URL (or show the file menu entry) if the publish flag is set to false.

As of v0.3.0, you can also open the current note on the published site directly in your browser. This feature is enabled by default.

As of v0.4.0, you can open the current note's Git commit history on GitHub. It is turned off by default. You need to set the repository URL and the branch name for it to work.

Configuration

In the settings, you need to set your Publish Index note and also the base path of your Obsidian Publish site.

copy-publish-url's People

Contributors

claremacrae avatar dependabot[bot] avatar kometenstaub avatar mara-li avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

copy-publish-url's Issues

The URL generated by this plugin misses the suffix ".md "

Thank you for this useful plugin. It means a lot to me.
As the title says, the URL I get can't be open directly because the correct URL is "URL.md". So I try to configure the plugin, only to find that the suffix isn't configurable. To make it worse, I am new to TypeScript so that I confront troubles when I try to modify the source code.
I'd appreciate it if you could help me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.