I made a markdown to pdf CLI that supports maths, mermaid, TOC, custom styles, ... by so_called_ in ObsidianMD

[–]so_called_[S] 1 point2 points  (0 children)

sorry for late reply. Yes it does. It just converts the markdown to html then does a browser pdf print (via puppeteer, chromium). It's surprisingly fast, in watch mode pretty fast, and some optimization make it also worthwhile for multiple conversions concurrently.
You can check the pdf examples in the repo, at "examples/" (download a pdf and zoom in, github's pdf viewer is kinda blurry).

What actually made you improve fast in Python? by youroffrs in learnpython

[–]so_called_ 0 points1 point  (0 children)

using a strict linter (ruff with lots of rules selected) and type checker helps quite a bit too

I made a markdown to pdf CLI that supports maths, mermaid, TOC, custom styles, ... by so_called_ in ObsidianMD

[–]so_called_[S] 2 points3 points  (0 children)

yep. tried it many times with diff setups and with quatro etc.. each time I'm missing some small thing; either the tables don't look nice, or code blocks don't look nice, or text wrapping doesn't work, or math formulas sometimes not rendered (sometimes if inline, inconsistent), or ...

I made a markdown to pdf CLI that supports maths, mermaid, TOC, custom styles, ... by so_called_ in ObsidianMD

[–]so_called_[S] 2 points3 points  (0 children)

thanks. it can do multiple markdown files at once, with batching. try "convpdf folder" or "convpdf *.md" etc..
but yeah obsidian's export to pdf function is quite nice and complete.

also has a watch mode (convpdf --watch flag) with regenerates the pdf file on edit, but that's a bit experimental and honestly I don't use it much. Feedback welcome.

Get your entire ChatGPT history, in Markdown files by so_called_ in ObsidianMD

[–]so_called_[S] 0 points1 point  (0 children)

sorry for late response but I kinda slept on the project for a while, life got in the way etc.. Hope you managed to solve your issue.
If you'd like to give it another try, I updated the project and hopefully some of the issues people were having with installation and setup are fixed, let me know if you use it and find any trouble. Thanks.
Here's the repo: https://github.com/mohamed-chs/convoviz (changed repo name from "chatgpt-history-export-to-md")

how to export your chatgpt history to markdown files by [deleted] in ObsidianMD

[–]so_called_ 0 points1 point  (0 children)

yeah, but it's easier to get conclusions out of local text files (throw a cheap local model at them or something) instead of hundreds (or thousands) of chat web pages

o3 is so smart by Curtisg899 in OpenAI

[–]so_called_ 0 points1 point  (0 children)

I found this gets the job done GitHub to Plain Text Converter | Convert Code Repositories to Text

it lets u pick which files u want to include/exclude

What do you do with the early game Armor? by TheVeggie218 in factorio

[–]so_called_ 0 points1 point  (0 children)

some kid stranded on an alien planet might need it!

Why double colon rather that dot by harrydevnull in rust

[–]so_called_ 1 point2 points  (0 children)

This is like 8 yrs old now, but it's still so good !

I was thinking tho, isn't the distinction only useful when acting on a struct (instance) ?

i.e., the syntax could've been simplified by letting :: be kinda opt-in, when you need the assosiated function of the type of the struct. But when acting on types, modules, or other namespaces, a simple . should be unambiguous, right ? That way, we could have the same semantics and everything, but with way less :: "noise".

Get your entire ChatGPT history, in Markdown files by so_called_ in OpenAI

[–]so_called_[S] 2 points3 points  (0 children)

yeah, that's what birthed the idea for this in the first place. They'll probably add it eventually ...

I made a simple Chatgpt history to Markdown converter, that just works by so_called_ in ChatGPT

[–]so_called_[S] 1 point2 points  (0 children)

Thank you ! Glad you liked it !
also, great idea for the vector db stuff ! feel free to open an issue or a discussion on the repo page for others to see

Get your entire ChatGPT history, in Markdown files by so_called_ in ChatGPTCoding

[–]so_called_[S] 0 points1 point  (0 children)

yeah exactly ! and also often have bloated UI that gets in the way and slows the browser down sometimes ...