Tools for laminating / delaminating digital text.
Ie, markdown (highly editable, less readable) <- -> html (highly readable, less editable).
Make it simple to write, distribute, and share ideas digitally.
To install dependencies:
bun installTo add as CLI (arch/omarchy):
bun build ./index.ts --compile --outfile ~/.local/bin/lmdTo remove from CLI (arch/omarchy):
rm ~/.local/bin/lmdAvailable after adding as CLI
lmd -h
Note: In this version, you must explicitly type the file extension for inputs and outputs.
Converts Markdown to HTML. Unstyled.
lmd html <input md> <output html>
Converts Markdown to HTML, styled to optimize for readability.
lmd r-html <input> <output>
Converts Markdown to HTML, styled to optimize for printing to ATS-Friendly PDF.
Note:
- "cv" in the command
cv-htmlstands for Curriculum Vitae which is latin for "course of life" (course as in a river - the path your life takes). - People who are stuffy call resumes this.
- I use it because "cv" is shorter than "resume" to type, and the number one cause of bugs is typing. Fewer strokes to help all folks.
lmd cv-html <input> <output>
Converts HTML to MD that is easier for LLMs to read. Note: Good for snagging docs for local lookup, but apparently that destroys businesses because you don't read the ads?
Use with caution, I guess.
lmd llm <input> <output>
Standard MIT
Mwah, kisses, etc. Thanks for being interested in this stupid little tool.
I think this is the standard flow:
- Fork this mess
- Make your changes
- Document them in the changelog
- Make the PR
- Who knows what happens next?
Prefer self-documented, modular code where applicable. Try to separate concerns where possible. Use descriptive variable names, even if they get long - all editors have pretty good auto complete. Use barrel exports where possible.