panflute
djot
panflute | djot | |
---|---|---|
3 | 43 | |
480 | 1,585 | |
- | - | |
4.5 | 5.8 | |
13 days ago | 3 months ago | |
Python | HTML | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
panflute
-
Pandoc
Interesting idea re:internal links. For sufficiently complex issues of this nature, pandoc filters[0] are a powerful tool for this kind of mid-conversion processing. I've made some cool projects with the Python package panflute[1]
[0] https://pandoc.org/filters.html
[1] https://github.com/sergiocorreia/panflute
-
I’m happily learning Python for no obvious reason.
Something that is quite suited to little mini projects with python is writing pandoc filters. The basic idea of pandoc is to convert written documents of some file type (the main source type is typically markdown) into another document type, for example latex, pdf, docx, odt... Now of course there will be certain things that pandoc cannot do quite well enough given its versatility. So it gives users the option to write [simple filters](https://pandoc.org/filters.html#summary) and apply them. This way you can also come up with your own syntax/tags and whatever in markdown and convert that to an arbitrary formatting instruction in another document type. Look into something like panflute and maybe you can come up with your own filters.
- Panflute: Pythonic Pandoc Filters
djot
-
LaTeX and Neovim for technical note-taking
I know this doesn't solve your problem directly, but I recommend people to try out Djot[0], a markup language from the author of CommonMark.
Djot has a single well-defined spec, and most of the basic formatting has the same syntax as (a) Markdown, so switching is pretty painless. It has as a main goal to be legible and visually aesthetic as-is, just like Markdown.
What Djot adds is its _predictability_. Nested formatting, precedence order, line breaks behavior, nested blocks, mixed inline and block formatting, custom attributes are all laid out precisely in the spec in a thought-out manner. Till this day I still can't remember how to put line break within a list item in Markdown (and I'm sure there're more than one way).
[0]: https://djot.net/
- Pandoc 3.1.12 Released
-
Pandoc
Worth noting that the author has also created a markup language, djot.
https://github.com/jgm/djot
-
Augmenting the Markdown Language for Great Python Graphical Interfaces
Every time I see people doing something with Markdown, I wish they just replace it with support for Djot[0] instead. It is a Markdown alternative by the creator of Pandoc and CommonMark that fixes all of the most egregious mistakes, while being legible and visually pleasant as-is. It is also syntactically similar to Markdown, which should ease adoption.
[0] https://github.com/jgm/djot
- Djot is a light markup syntax
- Beyond Markdown
-
HELP!!! Stuck forever
Are you using markdown? It might make sense to look at 'djot' as well: https://djot.net/; it's a new 'light' markup language conceived as a successor to commonmark; development is led by none other than John McFarlane (author of pandoc, & also led commonmark standardization) Djot makes it really easy to attach arbitrary attributes to block elements as well as inline elements; and the parser records source positions in the output -- all of which makes it really convenient keeping track of elements changing position or value.
-
Is there a way to send data from neovim in real-time to other applications? Want to create a neovim qmk bridge.
I have a simple script that sends a djot buffer (https://github.com/jgm/djot) to the parser, if there's a change, on the CursorHold event.
-
wiki.vim v0.6 is released
Since you mentioned you were considering moving to CommonMark, have you had time to look into Djot (also by jpm)? Djot is meant to be easier to parse, and I'm planning to write a tree-sitter grammar for it.
-
Typst, a modern LaTeX alternative written in Rust, is now open source
Another recent development here is https://djot.net/ (by the pandoc author). It indeed thoroughly solves both:
What are some alternatives?
wikmd - A file based wiki that uses markdown
typst - A new markup-based typesetting system that is powerful and easy to learn.
pypandoc - Thin wrapper for "pandoc" (MIT)
mdBook - Create book from markdown files. Like Gitbook but implemented in Rust
matchering - 🎚️ Open Source Audio Matching and Mastering
Zato - ESB, SOA, REST, APIs and Cloud Integrations in Python
gedit-plugin-markdown_preview - A gedit plugin previewing markdown (.md) documents
scroll - Tools for thought. A language for bloggers. This repo contains the language and a static site generator command line app.
Pepys - A Straightforward Markdown Journal
pdfsyntax - A Python library to inspect and modify the internal structure of a PDF file
python-benedict - :blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.
pdfquery - A fast and friendly PDF scraping library.