Vitepress Publisher

by mistj
5
4
3
2
1
Score: 55/100

Description

Category: 3rd Party Integrations

The Vitepress Publisher plugin integrates Vitepress functionality into Obsidian, enabling users to preview and compile Markdown files for web publication. Users can configure directories and file paths for their Vitepress setup, making it simple to organize and publish content. The plugin includes features like a sidebar button to manage Vitepress preview sessions and a top bar button to copy and preview specific documents. Advanced settings allow for customization of the publishing workflow, while commands such as 'vitepress build' and 'vitepress preview' streamline the process of building and reviewing sites.

Reviews

No reviews yet.

Stats

26
stars
833
downloads
1
forks
733
days
389
days
389
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

README file from

Github

Obsidian Vitepress Plugin 中文文档

Obsidian Vitepress Plugin is a flexible tool that allows you to easily preview and compile your .md files using VitePress or other static site generators (Hugo, Hexo, Docusaurus) in Obsidian.

Installation

Community Plugin Store

This Plugin can be installed through the community plugin browser in Obsidian.

Manual Installation

Download main.js, manifest.json, and styles.css from the release page and place them in <vault>/.obsidian/plugins/obsidian-vitepress directory.

Configuration

Required Settings

Settings

  • Publish Content: Select the top level directories or files to be previewed or published using VitePress
  • Directory Settings:
    • VitePress Path: Path to VitePress on your local machine
    • VitePress srcDir Path: Location of VitePress src directory

Advanced Settings

Advanced Settings

Custom Command Configuration

The plugin now supports configurable commands, allowing you to use other static site generators beyond VitePress:

  • Development Command: Command to start local preview server (default: npm run docs:dev)
  • Build Command: Command to generate static files (default: npm run docs:build)
  • Preview Command: Command to preview built site (default: npm run docs:preview)

Supported Static Site Generators:

  • Hugo: /opt/homebrew/bin/hugo serve
  • Hexo: npx hexo server
  • Docusaurus: npm start
  • Custom: Any command-line static site generator

This flexibility allows you to use the plugin with your preferred static site generator while maintaining the same workflow.

Usage

Sidebar Button

Sidebar Button

Click to start or stop vitepress dev and open the VitePress homepage in your browser.

Preview Action

Top Bar Button

Click to copy the current document to the VitePress srcDir directory and preview it.

Preview Action 2

Commands

Commands

Commands are now customizable through the Custom Command Configuration settings.

  • Show log: Open the log window for this plugin
  • vitepress build: Execute the build command npm run docs:build in the VitePress directory
  • vitepress preview: Execute the preview command npm run docs:preview in the VitePress directory
  • vitepress preview close: Close VitePress preview
  • vitepress publish: Open a new terminal window and run the publish script specified in the settings

Support

If you find this plugin helpful, please consider giving it a ⭐ on GitHub! Your support helps improve the plugin and lets others discover it.

License

MIT

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Webpage HTML Export
4 years ago by Nathan George
Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
Digital Garden
a month ago by oleeskild
Enveloppe
4 years ago by Mara-Li
Enveloppe helps you to publish your notes on a GitHub repository from your Obsidian Vault, for free!
Wechat Converter
3 months ago by davidlam-oss
Obsidian 公众号排版、飞书云同步与多平台(小红书、知乎等)发布插件。Markdown 转微信文章 / Feishu docs / 知乎、小红书、今日头条等草稿,支持数学公式、本地图片、GIF 和 Mermaid。
Publish to WordPress for Obsidian
5 years ago by devbean
An obsidian plugin for publishing docs to WordPress.
MP Publisher
2 months ago by joeytoday
自定义主题预览,并发布到公众号草稿箱。
Embedded Code Title
5 years ago by tadashi-aikawa
It is an Obsidian plugin which can embeds title to code blocks.
Dataview Publisher
2 years ago by UD
Output markdown from your Dataview queries and keep them up to date. You can also be able to publish them.
Auto Embed
2 years ago by GnoxNahte
Obsidian plugin to embed websites using simple markdown instead of iframe
screen.garden
3 years ago by screengarden, LLC
Realtime collaboration and web editing for Obsidian.
Publish and GitHub URL
5 years ago by kometenstaub
Copy or open the Obsidian Publish URL of a note. You can also open its Git commit history on GitHub.
Micro.publish
4 years ago by Otavio Cordeiro
Micro.publish is an Obsidian plugin to publish notes directly to Micro.blog, written in TypeScript
Telegraph Publish
4 years ago by Reorx
Publish your Obsidian note to a Telegraph page.
OzanShare Publish
5 years ago by Ozan Tellioglu
This plugin allows you to publish your markdown notes with a single click directly from your Obsidian vault.
O2
4 years ago by haril song
Converts obsidian markdown syntax to other platforms.
Zhihu
a year ago by dgg
Zhihu on Obsidian | 知乎 Obsidian 插件
Nostr Writer
3 years ago by James McGauran
Publish seamlessly from Obsidian to Nostr
Quail
3 years ago by Lyric
An Obsidian Plugin for Quail.ink. This is a clone repo of https://github.com/quail-ink/obsidian-quail
Permalink Opener
3 years ago by @kepano
Obsidian plugin to open URLs based on a permalink or slug in the note properties. For use with Jekyll, Hugo, Eleventy, Astro, Obsidian Publish, and other publishing tools.
YourPulse - Your Writing Activity Visualised
2 years ago by Jiri Sifalda
YourPulse.cc - Obsidian.md plugin that turns your vault into a reflection of your creativity, and put your writing on steroids 💪
Mixa
3 years ago by Mixa Team
Publish your notes and blog posts directly from Obsidian with Mixa
Halo
3 years ago by Ryan Wang
Publish your Obsidian documents to Halo.
Publish to Steemit
4 years ago by anpigon
Post directly to your Steemit from Obsidian.
MP Preview
a year ago by Yeban
一个帮助你快速将 Obsidian 笔记转换为微信公众号格式的插件。
File Publisher
3 years ago by Devin Sackett
Wechat Public Platform
2 years ago by Blake Chan
Obsidian Wechat public Plugin (微信公众平台) is a plugin to release article from your Obsidian Vault to WeChat, Baidu baiJiahao or other platforms.
Writeas Blog Publisher
3 years ago by encima
Hugo Publish
2 years ago by kirito
write blog in obsidian, pubulish to hugo site.
Pickly PageBlend
3 years ago by Dmitrii Mitrichev
The easiest way to share your Obsidian notes
Publish URL
3 years ago by Hananoshika Yomaru
copy the publish url to clipboard
Enhanced Publisher
a year ago by Cube
增强的Obsidian发布插件,支持图片自动存储、HTML预览和发布到微信公众号等内容平台
Moon server publisher
3 years ago by Roman Provazník
Omg.publish
3 years ago by May Meow
An obsidian plugin to create statuslog posts right from obsidian notes.
NotesOn Publish
2 years ago by Andrey Shapkin
Plugin to Obsidian.md
Vault to blog
2 years ago by barkstone2
Automation tool of making react SPA blog by obsidian vault.
Google Blogger
2 years ago by Hugo Sansaqua
A plugin for publishing Obsidian documents to Blogger.
Orion Publish
3 years ago by Sean Collings
Forms
2 years ago by Sorin Mircea
Typefully
2 years ago by Sébastien Dubois
Integrate Typefully within Obsidian
MBlog Publish
3 years ago by Jerry
Publish to Discourse
2 years ago by woodchen
Obsidian plugin for publishing articles to forums built with Discourse. obsidian插件, 用于把文章发布到使用discourse搭建的论坛.
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
Publish to DEV
2 years ago by Peter Strøiman
Obsidian plugin to publish to dev.to
Publish Note to Mowen Note
a year ago by ziyou
This is a mowen plugin for Obsidian (https://obsidian.md)
Typecho
a year ago by Chen
obsidian同步Typecho
Yuque Publish
a year ago by oylbin
obsidian plugin to publish document to yuque
InfoFlow
a year ago by RockieStar Inc.
Obsidian plugin for InfoFlow.app - This plugin integrates InfoFlow with Obsidian, allowing you to sync your saved articles, web pages, notes, and highlights directly into your Obsidian vault.
Content OS
a year ago by eharris128
Post to LinkedIn from within Obsidian
umbPublisher
a year ago by Owain Williams
An Obsidian Plugin that allows you to push notes to Umbraco 15+ as content nodes
AmpliFlow Page Publisher
2 years ago by Patrik Björklund
The offifical AmpliFlow obsidian page publisher.
Magiedit
2 years ago by Matteo Gassend