These are all fair comments and justifiable reasons why to wait. There are many markup formats, but github made git dominant and it made markdown dominant and anyone using anything else is an edge case. It’s chicken/egg thing; if Hugo, github, Sourcehut – if the publishing platforms supported djot, more people might start using it. Since nothing does, fewer people do.
While John says it’s experimental, the website says that
Djot isn’t completely stable yet, minor future changes to the syntax are expected. The official JavaScript implementation is complete and ready for use.
which sounds a lot more “done” than the other verbiage; I’d argue that markdown was widely used while still being in flux for years, and it didn’t stop people from supporting it. That’s probably something John’s leery of, because it caused a lot of fragmentation in markdown – however, the djot website itself makes the spec sound more complete.
Yeah, that’s the only Go implementation. It’s something I think is worth digging into – not for you folks, but for the djot community. Being the person he is, and the goals he has for djot, if there are implementations which diverge but both follow the spec, it’s something that needs to be addressed in the spec. Are you worried that Hugo would get bug reports? Does the Hugo project have a category of “experimental” features, whereby users could be redirected to the godjot project if the issue is a divergence?
The speed issue is… an issue. I don’t have an answer for that, although if there’s a chance to get Hugo to support djot, I’d allocate optimization time to the godjot project.
Again, it comes down to chicken/egg, which is your point #4. If there is more software supporting the format, the format gets more exposure and becomes an option for more users and the ecosystem improves. I guess a part of my request is advocacy, but it’s sincerely born out of a desire for convenience.
Shelling out to pandoc was an X:Y question, not a recommendation. I was asking whether it was possible. I’d much rather see Hugo integrate godjot and render natively – maybe as a compile-time option, or an experimental feature flag, or whatever mechanism the Hugo project uses.
If PRs would be accepted, I was willing to dig into it. I know there’s an ongoing maintenance concern, and if there’s a way to sumbit a PR for experimental features, I’d happily go that route. What I didn’t want is to spend all that time and effort only to get a “wontfix” rejection; maintaining parallel forks is, IME, a royal PITA, eventually. So if it’s something I can maintain via PRs that ultimately get merged, but have to be enabled at compile time or via flag, I’ll put that in my stack of projects to maintain.
Is Hugo open to this as an experimental feature? Does Hugo have a process for that?