-
Hi,
Seeing as the projet already has a syntax definition for vim it would make sense to also have a tree-sitter grammar which could be used by a number of editors (e.g. neovim).
I guess a good st…
-
**Describe your proposed improvement and the problem it solves.**
Currently \```{attribute=} is fine, so \```{attribute} should be fine. I think this notation is a tiny bit cleaner; and is cons…
-
When you create a heading, it nests all other content in a section
```markdown
# Heading
Paragraph
## Heading 2
```
```
doc
section id="Heading"
heading level=1
str text=…
-
writing this down the second time, as I've already forgot this idea once :)
The end goal would be to define `djot_ast.ts` file which precisely specifies the JSON AST:
```ts
interface Doc {
t…
-
`>` denotes a `` in Markdown/Djot
> The blockquote element represents a section that is quoted from another source.
>
> Content inside a [blockquote](https://html.spec.whatwg.org/multipage/groupi…
-
Is it possible to make support for the following syntax when writing lists:
```
1. This is the first list item.
#. This is the second item.
#. This is the third list item.
```
This could make numbe…
-
There has been a lot of discussion dating back to 2019/2020 on how to add options to roles, and easier/faster ways to add options to directives.
For example:
- https://github.com/executablebooks/m…
-
This is super-weak nice to have, but we have, eg `code_block` and `emoji` tag names, which are specific to _one_ use case. Given the extensibility goal of djot, we might want to go for more general na…
-
I've found a couple of cases where I'd love to ask djot to parse only inline elements. This might be an XY problem, so let me describe specific use-cases.
**First** is the formatting in code blocks…
-
I would guess these should be loose, but they are tight:
```
- a
-
```
yields
```html
a
```
instead of
```html
a
```
```
- a
- - b
```
yields
```html
…