Show HN: Podlite - a lightweight markup language for organizing knowledge (podlite.org)
Unbound by any specific domain, programming language, or concept, Podlite stands out as a universal markup language
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!
48 comments
[ 161 ms ] story [ 350 ms ] threadAlthough 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.
I believe that natural evolution makes it easier to let the bad branches die out.
Markdown is perfectly usable.
They don't even have a Python library, which basically guarantees that AsciiDoc won't be taught in colleges.
I like AsciiDoc, but not nearly enough to mess around with installing Ruby and Gems and then having to do the same for anyone else at work that needs to build the docs for whatever reason.
Ruby is basically a non-starter for me in general. Dependency management and interpreter versioning is a pain in the ass for interpreted languages, so I'd rather have as few as possible on my system. I've already got Perl and Python installed by default, I'd rather not add a third.
https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc.o...
It’s a long shot, but if GitHub/GitLab added render support for AsciiDoc my life would be complete.
Regardless, it’s impressive and awesome progress.
What are the advantages of the Podlite design?
---
=toc head1, head2, head3
=begin markdown
---https://pod6.in/#p=%3Dtoc+head1%2C+head2%2C+head3%0A%0A%3Dbe...
What I find most interesting is that there’s no need to choose between Podlite and Markdown; you can use both and switch between them as needed.
I think Podlite could be really useful in document management systems and electronic publishing. But... let's see what practical uses Podlite will find.
thank you
This introductory blog post from February is useful too: https://podlite.org/2024/2/21/1/introducing-podlite-a-lightw...
Does this use a single pass for the parser? Is there an EBNF spec? What sort of diagrams does it support?
Thanks
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...
I've found it as easy to use as markdown, but more regular ie. Well defined, which suits a language spec.
The key parts for me are reference links for execution-thread documentation and ``` blocks to program literally, (and separate/scope comments // from documentation """)
The toolchain as such is just part of the language- the compiler needs to parse djot. I'm not fully there though.
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
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
I would like to be proven wrong though.
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.
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...
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!
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.