Show HN: Podlite - a lightweight markup language for organizing knowledge
142 points| zagap | 1 year ago |podlite.org
In addition, the support for Markdown markup as a standard block adds convenience and allows for the use of familiar syntax for text formatting
It's perfect for documentation, educational materials, blogging, and much more for organizing knowledge.
One of the key features of Podlite is its extensibility. This allows for defining unique and domain-specific blocks and expanding the language's functionality according to the requirements of your project.
The Podlite specification is published under the Artistic license 2.0.
Site: https://podlite.org Thank You!
simonw|1 year ago
This introductory blog post from February is useful too: https://podlite.org/2024/2/21/1/introducing-podlite-a-lightw...
burrish|1 year ago
bachmeier|1 year ago
zagap|1 year ago
To meet modern requirements and make documents dynamic, we need a flexible API and integration with contemporary frameworks. Simple HTML just isn't up to the task. Although this was the approach during the early implementation (https://github.com/zag/js-pod6), it turned out to be a dead end.
thank you
kkfx|1 year ago
exe34|1 year ago
lyu07282|1 year ago
k8si|1 year ago
zagap|1 year ago
https://github.com/podlite/podlite-specs/blob/main/Specifica...
Also online playground is available here: https://pod6.in/
Thanks for your interest in Podlite! with best, Alex
WA|1 year ago
Although it's already on your roadmap, but it definitely needs more complex examples. Fiddled around a bit with links to same-doc references. Got it to work, but took a while.
asystole|1 year ago
chj|1 year ago
apgwoz|1 year ago
ThinkBeat|1 year ago
I would like to be proven wrong though.
PixelEngineer|1 year ago
I'm particularly interested in the extensibility of Podlite. This feature allows the language's functionality to be expanded according to the specific needs of a project, which could be a huge plus in many cases. I look forward to seeing how Podlite evolves.
As for using raw HTML and JavaScript, while they indeed provide powerful querying features, Podlite might be simpler and more intuitive for those who are not familiar with these technologies. I think that's another strength of Podlite.
All in all, I think Podlite is a project worth watching. I'll keep an eye on its progress and look forward to seeing what changes it can bring in the future. Thanks for sharing this project!
fabianholzer|1 year ago
I would love to have a notation to get a various ways of representing of intellectual tasks into a single document. A real killer feature in my eyes would be if a kind of umbrella markup language would support a convenient two-way binding for creating and manipulating notations, so for example that diagrams could not only be rendered in a desktop app, but also be manipulated with the markup being automatically being updated. I guess the problem is that light-weight implies too little structure to make such a thing easy to implement...
john2095|1 year ago
I was excited that this was an extension of markdown but now I that see it I react with horror: markdown is not a programming language. This looks rather like a programming language.
randomguid|1 year ago
alexisread|1 year ago
Does this use a single pass for the parser? Is there an EBNF spec? What sort of diagrams does it support?
Thanks
zagap|1 year ago
zagap|1 year ago
At the moment only typescript implementation exists and here is PEG grammars from it: https://github.com/podlite/podlite/blob/main/packages/podlit...
At the moment it supports Mermaid diagrams:
https://pod6.in/#p=%3Dbegin+Mermaid++%3Acaption%28%27Caption...
pixelcodev|1 year ago
TrueDuality|1 year ago
This is VERY heavy, and VERY invasive. The entire lack of opinion in "use whatever markup you like as long as its wrapped in our markup" seems like an extra awful complication. I'd be curious to hear about what concrete problems the authors of this spec were trying to solve and why they went so far.
the_real_cher|1 year ago
unknown|1 year ago
[deleted]
dash2|1 year ago
What are the advantages of the Podlite design?
zagap|1 year ago
---
=toc head1, head2, head3
=begin markdown
---https://pod6.in/#p=%3Dtoc+head1%2C+head2%2C+head3%0A%0A%3Dbe...