I'd be interested to hear what the application is — I like MarkDown, but whenever I try to move beyond generating a single chunk of HTML find myself having to reach for non-standard extensions.
-
-
-
I am working on a tool with a friend which consumes markdown as a semi-structured input format. In order to better report errors in the input, I want to be able to point at the line (and column perhaps) where the error exists.
- Još 3 druga odgovora
Novi razgovor -
-
-
The spec is definitely useful, though it doesn't really come out and say "this is the AST" it's more of a set of rules for identifying and parsing the components. AFAICT. Perhaps I missed an AST definition in my skim?
- Još 2 druga odgovora
Novi razgovor -
-
In Crystal-land we are suggesting https://github.com/icyleaf/markd as the Markdown implementation nowadays. I don’t have a baseline to compare the implementation to.
-
A brief glance suggests https://github.com/icyleaf/markd/blob/master/src/markd/node.cr … is the AST -- is that right? (While I said any language will do, Crystal and Ruby are not ones I'm yet familiar with navigating)
- Još 2 druga odgovora
Novi razgovor -
-
-
Being not so far from, but probably far simpler than, HTML, maybe html5ever for inspiration?
-
I would prefer an AST which was moderately easily returned to markdown, rather than one which is lower level (which I'd consider HTML to be) but not a bad idea if other options aren't useful inspiration enough, thanks.
Kraj razgovora
Novi razgovor -
-
-
The CommonMark dingus produces and AST (in XML form) as well as rendered output, so could be a useful reference point.
-
(Forgot the link: https://spec.commonmark.org/dingus/ )
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.