Publish your Obsidian note to a Telegraph page.

Overview

Obsidian Telegraph Publish

Publish your Obsidian note to a Telegraph page.

Features:

  • Publish the active file to a new Telegraph page (create).
  • Publish the active file to an existing Telegraph page (update).
  • Clear published content of the active file.

Upcoming:

  • Support image uploading.

Installation

Currently this plugin is in review, but you can take a try by either ways below:

  1. Manually download the latest release from GitHub and extract the files in $YOUR_VAULT/.obsidian/plugins/obsidian-telegraph-publish.
  2. Use BRAT plugin

Formatting support

Telegraph has restricted support for HTML tags, therefor it's not practical to publish very complicated pages. You can see a showcase of which the sample note is rendered.

Markdown Syntax Support
Inline
**bold**
*italicized*
code
~~strike through~~ x
==highlight== x
[external link](/)
`[[internal link]] Render as external link to #
![[embedded image]] Plan to support
Block
- list Nested list will be flattened
> blockquote List in blockquote will be separated
```code block
<table> Render as code block

How to use

Create a Telegraph account

Before publishing any pages, you need to create a Telegraph account first.

Open settings of Telegraph Publish

You can see Access token is empty, click the**Create new account" button, the new account will be created and access token will be filled automatically.

You can click the auth_url to authenticate this account in your browser, so that you can edit the published pages later.

Publish a new page

To publish a new page, first you need to open a markdown file, then click the sidebar button or run the command called "Publish to Telegraph".

Click "Yes" in the confirm modal:

Then wait a second, after the page has been successfully created, you will see the Telegraph page URL in the next modal:

Click the URL to open the page in your browser, if you have already authenticated through auth_url in settings, you will be able to see the Edit button on the right side of the page.

Now go back to the note, and switch to source mode, you can notice that the frontmatter is updated with two new keys: telegraph_page_url and telegraph_page_path. They are used to keep track of the connection from the note to the Telegraph page.

Update an existing page

If you have already published a note, you can change its content and simply run "Publish to Telegraph" again to update the existing page. The modal will shown as below:

As long as the frontmatter is correct and the access token is unchanged, you can always update the page associated with the new.

Clear the published content

Since Telegraph does not provide a delete page API, the plugin provides a Clear published content on Telegraph command to remove the content of a published page.

After running the command you will see the following modal:

Click Yes and wait for the clearing process to finish.

Open the URL again, you will see the content of the page is only a Deleted word left.

You might also like...

Upload or Upload & Publish your bundle (apk or aab) to Huawei AppGallery with ConnectApi

appgallery-publisher Upload/Publish your bundle (apk or aab) to AppGallery automatically with appgallery-publisher Usage Single Javascript File Bash F

Sep 19, 2022

Free Obisidian Publish alternative, for publishing your digital garden.

Free Obisidian Publish alternative, for publishing your digital garden.

What is MindStone? MindStone is a free open-source alternative solution to Obsidian Publish Here how it look like once published, checkout demo versio

Dec 30, 2022

☁️ Publish your npm package to a GitHub repository branch

git-publish Publish your npm package to a Git branch. Support this project by ⭐️ starring and sharing it. Follow me to see what other cool projects I'

Oct 21, 2022

The awesomebooks project is a simple list, but separated into 3 parts and given a retro feel. The main page is where we can add books, and on another page we can see the list, and remove items. There is also a "contact-us" page.

Awesome Books This is the restructured version of the famous awesome-books project! Here you can find JavaScript broken into modules, using import-exp

Nov 15, 2022

Semantic Release plugin to create and publish NuGet packages.

semantic-release-nuget semantic-release plugin to create and publish a NuGet package. Step Description verifyConditions Verify the presence of the NUG

Jan 2, 2023

This React-Based WebPage allows the client/user system to create their own blog, where users can publish their own opinions.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Jul 28, 2022

Strapi V4 Plugin to schedule publish and depublish actions

Strapi plugin scheduler This plugin allows you to publish and depublish collection types in the future. There are a couple of steps necessary to get t

Nov 24, 2022

🚀 A GitHub action to publish a new release of the repository

Create a JavaScript Action using TypeScript Use this template to bootstrap the creation of a TypeScript action. 🚀 This template includes compilation

Nov 1, 2022

Recursively publish ESM packages as CommonJS!

Commonify.js For us who are still relying on CommonJS, or using Electron which does not support ESM. 🆕 See also build-electron I made this tool that

Dec 29, 2022
Comments
  • not all of the note content is published

    not all of the note content is published

    Hi! I love the idea of this to quickly share a page. I’ve got it working - sort of. When I set the HTML Source to “MarkdownRenderer” nothing happens when I try to publish or update. When it is left on the default of “Preview” it works to publish and update the post, but it doesn’t publish the whole post. I’ve tried on several notes, but they seem to get cut off after 300-400 words. For example: Luke Reading Guide – Telegraph This note should have a header and content for every chapter in Luke (24 of them), but the published note only shows down to 8. Any ideas on what is going on? Thanks!

    opened by pastorjack 2
  • [Feature Request] Support image uploading

    [Feature Request] Support image uploading

    Thanks for this plugin that helps me a lot.

    I found I could publish the note which has images to telegraph. However, there are several bad cases:

    1. part of the images can not be found on telegraph pages;
    2. the sequence of the images on telegraph pages is different from the markdown notes.

    Example:

    • 猫砂反馈.md
      • page: https://telegra.ph/%E7%8C%AB%E7%A0%82%E5%8F%8D%E9%A6%88-12-01
    opened by tzwm 0
Releases(1.2.3)
Owner
Xiao Meng
Craft and smelt.
Xiao Meng
Easily publish notes to the web This plugin integrates with obsius.site to publish markdown notes on the web.

Obsius Publish Easily publish notes to the web This plugin integrates with obsius.site to publish markdown notes on the web. Limitations The type of c

Jon Grythe Stødle 66 Dec 20, 2022
Like Obsidian Publish but for self-hosting. Plugin integrations for dataview, admonition, and more.

Obsidian Export Obsidian Publish is great but lacks support for many of the plugins we Obsidian addicts have grown accustomed to — in particular Datav

null 12 Nov 28, 2022
Write on Obsidian. Publish to Ghost with a single click.

Obsidian & Ghost A simple plugin for Obsidian to publish to Ghost site with a single click. How to use Create a custom integration follow this link. Y

Jay Nguyen 36 Dec 22, 2022
Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.

New Tab Default Page Obsidian plugin to open a note of your choice when creating a new tab, like in the browser. Usage Set the note to open in new tab

pseudometa 20 Dec 27, 2022
A plugin for Obsidian (https://obsidian.md) that adds a button to its search view for copying the Obsidian search URL.

Copy Search URL This plugin adds a button to Obsidian's search view. Clicking it will copy the Obsidian URL for the current search to the clipboard. T

Carlo Zottmann 6 Dec 26, 2022
An obsidian plugin that creates tomorrows daily note for preemtive planning.

Tomorrow's Daily Note An Obsidian plugin that creates tomorrows daily note for preemtive planning. Requirements Obsidian v0.12.0+. Daily notes plugin

Will Olson 12 Sep 24, 2022
🪨 A simple obsidian plugin that links all modified files meeting certain criteria to a daily note

Obsidian List Modified This plugin lists all modified files meeting certain criteria to a daily note. Why? As of now, dataview queries cannot be "froz

Francis Kafieh 51 Dec 7, 2022
A plugin for the Obsidian markdown note application, adding functionality to render markdown documents with multiple columns of text.

Multi-Column Markdown Take your boring markdown document and add some columns to it! With Multi Column Markdown rather than limiting your document lay

Cameron Robinson 91 Jan 2, 2023
An Obsidian plugin to add (prepend or append) specified content to a note (existing or new) without opening another pane.

Obsidian Note Content Pusher An Obsidian plugin to add (prepend or append) specified content to a note (existing or new) without opening another pane.

Henry Gustafson 21 Nov 6, 2022
Obsidian Web: Connect your browser with your Obsidian notes

Obsidian Web: Connect your browser with your Obsidian notes This is an unofficial Chrome extension for Obsidian that lets you send content from the we

Adam Coddington 97 Jan 3, 2023