From 2b2e511a15414f6c28f15990b75442424f9cc3b9 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 31 May 2026 11:29:58 -0400 Subject: refactor: initial hardening tweaks store images in localStorage --- README.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 10e49ca..52009b3 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,10 @@ a simple web app that converts markdown to pdf. likha-pdf screenshot - -> this project originally started as a way for me to learn NimLang, but I found it useful enough that I decided to rewrite it in Python for easier personal maintenance 😅 - -> the original Nim source files are still available in the `__legacy_src` directory - ## features - markdown to pdf export -- image upload with markdown snippet insertion +- local browser image storage with markdown snippet insertion - paper size, margin, font, line spacing, and page number options - syntax-highlighted code blocks - always produces a pdf (reportlab fallback if weasyprint fails) @@ -25,7 +20,7 @@ a simple web app that converts markdown to pdf. ## image usage -1. upload an image from the page +1. store an image locally from the page 2. click `insert into markdown` 3. generate pdf @@ -65,13 +60,4 @@ nginx should reverse proxy to `127.0.0.1:5001` and pass: - `X-Forwarded-For` - `X-Forwarded-Proto` -- `X-Forwarded-Host` - -### docker - -```bash -docker build -t likha-pdf . -docker run -p 5001:5001 likha-pdf -``` - -open `http://localhost:5001` +- `X-Forwarded-Host` \ No newline at end of file -- cgit v1.2.3