Repository navigation
Edit a MarkItDown handoff in the browser and download the Markdown #2926
Nir Feinstein (fainir)
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I work on Plainer, a browser workspace with a free guest editor. I wanted a reviewer to be able to check off a task in a converted handoff and send the edited
.mdfile back. The guest editor opens without an account.Save this small example as
release-handoff.html.python3 -m venv .venv .venv/bin/python -m pip install 'markitdown==0.1.9' .venv/bin/markitdown release-handoff.html -o release-handoff.mdFor this example, MarkItDown puts the HTML title on the first line, above the Markdown heading.
release-handoff.md, check Verify the mobile preview, then reload. The task should still be checked..mdin a text editor. Look for[x] Verify the mobile previewand both original source links.I ran this on a phone-size touch viewport and with a desktop keyboard. Both downloads kept the original filename and source links. The input file on disk stayed unchanged. Guest edits are saved in the current browser. Use Sign up from the files page if you want to keep the edit in your account.
To compare the files, save the download as
checked-handoff.mdnext to the original and rundiff -u release-handoff.md checked-handoff.md. In this sample the only change is[ ]to[x].All reactions