Obsidian Publish resources

I have created a script to activate a “reader view” on an Obsidian Publish site :point_down:t2:

1 Like

I have created a javascript to activate a hotkey for the search on an Obsidian Publish website. On the page there are different code options (on Mac, I personally prefer to use command-k).

Also, there is a version that focuses the input search when loading the web.

Another type of resource: a collection of Obsidian Publish websites :point_down:

3 Likes

There is a nice plugin that several of us in the #obsidian-publish Discord channel have been trying to make it easier to Publish our dataview items.

2 Likes

Here is an example post workflow detailing this.

So, an example post workflow that uses this plugin:

  1. Open “Echo” Master vault
  2. Open Vault I will want to Publish in, in a different Obsidian Window. Selecting this vault in the vault profiler/switcher should automatically open in a second Obsidian window.
  3. Work on a file in my “Echo” Master vault. Lately its mostly been with my Arbiters TTRPG things, so my work is in Root/Arbiters/
  4. Once done, switch to Arbiters window.
  5. CMD+P for command palette select Dataview Publisher, Update Dataview Publish Blocks and Open Publish Panel
  6. Quick review that the right changes are going to be published
  7. Select Add Linked items if I added attachments
  8. Publish.

You can use BuiltWith to find Obsidian Publish sites :wink:

1 Like

Hiding data in Publish only

This is useful for things like small comments, but not suitable for sensitive private information.

Markdown comment method

%%
Hide me!
%%

Custom Callout Method

.published-container .callout[data-callout="scratch"] {
  display: block;
  visibility: hidden; /* Optionally remove if concerned about screen readers */
}

Why wouldn’t you use the markdown comment method to hide large chunks of a note? I have notes that I want to publish most of but hide certain sections (sometimes just a word here and there, but other times several paragraphs). Just now learning how Publish works – I haven’t set up a site yet for this. But I’m working on setting up vault structure for my own needs and for future publishing.

The markdown comment method will hide the notes in reading view in the application, as well as on the page when it is published.

The callout method allows you to still see the notes in the application, but make it “invisible” only when it’s on the Publish site.

Ahh – Ok. Thanks for the clarification. Now I see that your prior note emphasized not to use hiding within the note for sensitive information – but what I want to hide is more superfluous or somewhat private versus overly sensitive.

That’s a great distinction between the comment method vs the callout method as to what appears in Reading view.

I haven’t found any use case yet for using Reading view on the application, except to check what it might look like when published or turned into a PDF. I work almost exclusively in Live Preview, just switching to source mode now and then to see the formatting.