pdf-lib
markdown-preview-enhanced
Our great sponsors
pdf-lib | markdown-preview-enhanced | |
---|---|---|
23 | 5 | |
6,220 | 4,056 | |
- | - | |
0.0 | 4.9 | |
3 months ago | about 2 months ago | |
TypeScript | HTML | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pdf-lib
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
I'm facing that same pain point of programmatic PDF filling. I noodled around in the PDF format and learned it's a bit difficult to deal with fonts and formatting. But I think this client-side library works well enough, as a start: https://pdf-lib.js.org/#:~:text=a%20single%20document.-,Fill...
I've also heard of one paid API that I forgot but seemed to work well, and this related service https://www.jotform.com/, and I also considered porting some server-side libraries to WASM. One day I'll collect all the libraries and findings in a blog post.
Are you looking to programmatically fill any PDF form by detecting the fields? Or are you filling one known PDF template?
-
Show HN: PrivatePDF – minimal PDF editor that runs in the browser
Thanks! For PDF form filling, I use the APIs that pdf-lib [0] exposes. That includes text fields, checkboxes, radio buttons, dropdowns and options lists. Give it a try and let me know if you find a type of form field that's missing.
-
Thinking of throwing in the towel and hiring help - small website business
I do not know if some plugin exists, but maybe you have to take a look at https://pdf-lib.js.org/
- Does no one use PDF files anymore?? In need of a PDF generator package...
-
Is node the right choice for HTML to PDF conversion?
PDFmake or pdf-lib would be the way to go in my opinion.
-
I made a free PDF editor that works in your browser
Sure! You can build your own PDF editor with a combination of PDF.js and PDF-lib
-
I built a wrapper to easily embed my PDF editor (SimplePDF) in any React app!
I stand on the shoulders of giants, namely PDF-lib, PDF-js and React-beautiful-DND – everything else is pretty much custom code.
- PDF editing - client side with canvas or on server?
-
How can I use PDF-Lib in Cloudflare Workers?
How one can use a library such as PDF-Lib (npm, website) that:
-
PDF Library
I built my side-project https://pdfvise.com/ using https://pdf-lib.js.org/ for pdf manipulations.
markdown-preview-enhanced
-
Show HN: Dendron – Super Fast Open Source Note-Taking in VSCode
I tried out Dendron a few months ago for personal note-taking, technical docs, and organizing tasks. I was excited at first, but overall the cons outweighed the pros for me.
Pros/exciting things:
1) There's a simplicity in using VS Code for writing notes and docs if (and probably only if) you already spend your day in VS Code, like I do.
2) The Markdown Preview Enhanced VS Code extension (which is a dependency of Dendron) is super cool for having so many "batteries" included. For example, check out all the diagram types it supports: https://shd101wyy.github.io/markdown-preview-enhanced/#/diag... . I still use it, separately from Dendron.
3) Storing my data as plain text on disk (backed up by GitHub or Dropbox) has nice properties compared to how SaaS apps do it (e.g. if you use Notion, say, your data materializes out of "the cloud" when you launch the app, and otherwise has no tangible existence). When my data is plain text on my local disk, I own it; I know I can export it, I can run whatever editor or program on it; I can access past versions (via git or Dropbox); I don't have to worry about it being corrupted, or accidentally deleting some of it, or not being able to access it because of server issues, or not being able to export it, or being offline, and so on.
4) The Dendron docs ("wiki") site is created using Dendron. It's a cool thought that I could create a nice website of documentation or notes without leaving VS Code.
Cons:
1) Can't access my notes from mobile.
2) Major warts in navigating between notes. Each note has a tab for editing it and a tab for viewing/previewing it. Opening a note behaves differently depending on which tab is focused. Clicking links to go from one note to another doesn't work very well.
3) Poor full-text search (just VS Code's code search).
4) You can't specify an order for notes, only unordered hierarchy, and you can't easily view multiple notes at once, which means keeping lots of short notes, or using different notes for different sections of a document, doesn't really work. There's a tension in any note-taking tool between short notes and long notes. Should notes be as short as possible? Or stretch into long documents? The ideal tool IMO would blur the difference between an ordered hierarchy of sections within a document and an ordered hierarchy of notes within some grouping. Dendron makes it seem like it is for keeping thousands of small notes, but the ways in which you can view, organize, and navigate between notes (lack of good "browse," search, links, lists, seeing multiple notes, next/previous note, and so on) are so limited that it makes more sense to write long documents. In which case, all you really need is Markdown Preview Enhanced and the file system.
-
Most Featureful Markdown Parser
My favorite implementation is Markdown Preview Enhanced, to be exact, @shd101wyy/mume, but I want a little more features...
-
Markdown beyond basic standard HTML
VSCode or Atom IDE with Markdown Preview Enhanced
-
What I miss in Markdown (and Hugo)
Editor preview: Yes
-
Markdown to PDF: missing pieces from various approaches, and beyond HTML
And one of the best tools to create PDF is Visual Studio Code, if you know how to use Markdown Preview Enhanced properly. (I've just noticed that I can use this in Atom as well.)
What are some alternatives?
PDFKit - A JavaScript PDF generation library for Node and the browser
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
puppeteer - Node.js API for Chrome
foam - A personal knowledge management and sharing system for VSCode
PyPDF4 - A utility to read and write PDFs with Python
Zettlr - Your One-Stop Publication Workbench
qpdf - QPDF: A content-preserving PDF document transformer
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
PDF.js - PDF Reader in JavaScript
labelmake - labelmake has moved and now available at pdfme / https://github.com/pdfme/pdfme
tufte-markdown - Use markdown to write your handouts or books in Tufte style.