thanks. the thing that puts me off about it is that it has a massive bundle size. can lazy load it i guess, but it's only used for very specific event kinds. the markdown stuff i use all over the place: NIP rendering, community NIPs, long form.
It's fine. I tested it, for a while, and it's what wikistr.com is using.
We're using some advanced Asciidoctor features, like automatically-generated table of contents and stuff. That is fine for most clients.
Well, it never changes and Javascript is very simple code. People just add plug-ins and make wrappers. 🤷🏻♀️
How many different ways can you say _please write in italic_?
Our wikis support 30817 (Markdown) and 30818 (Asciidoc) events. Publications have 30041 Asciidoc content as the default. Any publication sections that are not 30818 or 30041 get the Markdown parser.
That covers all bases and gives the user enough leeway.
Of course you are right, but there are things more annoying than breaking backwards compatibility. One of them is Asciidoc. Asciidoc was a huge mistake, I got swindled by their marketing.
Also the differences are small (most articles are just text anyway) and there are few implementations, the articles have broken formatting everywhere anyway.
I should have just merged the change sooner to save you a headache, but I was ashamed of doing it and afraid of @Laeserin, and waiting to see what @PABLOF7z would say about it.
https://github.com/nostr-protocol/nips/pull/2242
I’ve already implemented it. I’m good with merging the PR.
There’s nowhere near enough wiki articles published to be too concerned about the amount of data, although a few people that started doing good work got, very understandably, discouraged with the change and I can’t fault them for that. @🇵🇸 whoever loves Digit immediately comes to mind since he was adding a lot of work there.
In the new version I’m working on I’m doing what I can to detect markup and render accordingly.
That doesn't just break older 30818s. It also breaks 30023s and any other Markdown formatting.
We don't have a special wiki client, but all of our clients render and handle wikis... along with CommonMark content. We would need a second Markdown parser.
Thank you for the mention.
I'm finding it impossible to focus on technical work like contributing wiki articles lately, but I look forward to seeing where it goes and getting back on footing to contribute
😂 I am not a monster. We implemented both Markdown and Asciidoc (we the content and switch), but if everyone else hates Asciidoc, we'll stick to that. There isn't much difference.
It's the same size for us, either way, as we need all of the advanced plug-ins. They're what takes up space. Asciidoc.js comes with some of them, that's why it's a bit larger.
What is the NostrMarkup? The one that is a variant of Asciidoc?
I tried to write an Asciidoc parser from scratch, it was too hard. There are no other parser implementations out there besides the "reference" in Ruby (transpiled to JS as asciidoctor.js). All the other you find on GitHub are illusions, vastly incomplete, because the Asciidoc standard is a mess and way too bloated, it assumes and HTML parser/renderer in many many places, it isn't suitable for a serious protocol. I've joined the official Asciidoc discussion board and asked questions and made suggestions. The reactions I got served to reinforce that position by a lot, it actually made me think things are only going to get worse.
Sorry, I don't think I tagged anyone. I hadn't even talked to Pablo about it until yesterday. The only thing that happened was that @a9434ee1…d5c885be was hating on it and running a smear campaign against me because of it some months ago.