Skip to content

if-nil/ShareInLink

Repository files navigation

ShareInLink logo

English | 中文

ShareInLink

Netlify Status

A secure Markdown editor for local sharing. All content is stored in URL hash, making sharing simple while keeping your data in the browser.

Features

  • Real-time Markdown preview
  • Code syntax highlighting
  • Share via URL
  • Preview in separate page
  • Keyboard shortcuts (Ctrl+S / Cmd+S to save)
  • Responsive design
  • Dark mode editor

Tech Stack

  • Vue 3
  • Vite
  • Monaco Editor
  • Marked.js

Getting Started

Prerequisites

  • Node.js (v14+)
  • pnpm

Installation

# Clone the repository
git clone https://github.com/if-nil/sth-preview.git

# Install dependencies
pnpm install

# Start development server
pnpm dev

# Build for production
pnpm build

Usage

  1. Write your Markdown content in the left editor
  2. See real-time preview on the right
  3. Click "Save" or press Ctrl+S/Cmd+S to save to URL
  4. Click "Share" to get a shareable link
  5. Click "Preview" to view in a clean reading mode

About

LocalShare - Share via URL Hash

Resources

License

Stars

Watchers

Forks

Packages

No packages published