-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
dialogues.scroll
36 lines (27 loc) · 1010 Bytes
/
dialogues.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
date 2021-05-14
permalink dialogues.html
tags All Scroll
title Scrolldown now has Dialogues
header.scroll
printTitle
thinColumns 2
chat
hey. I just added Dialogues to Scrolldown.
cool. But what's Scrolldown?
Scrolldown is a new alternative to Markdown that is easier to extend.
how is it easier to extend?
because it's a tree language and tree languages are highly composable. for example, adding dialogues was a simple append of 11 lines of parser code and 16 lines of CSS.
okay, how do I use this new feature?
the source is below!
aboveAsCode
endSnippet
Dialogues seem to be a really common pattern in books and writings throughout history. So Scroll now supports that.
dateline
Here is the parser in the commit that added support for Dialogues:
https://github.com/publicdomaincompany/scroll/commit/f78f8aea15bf4a709cf21b899a151ba1385763af commit
dialogues.png
****
# Links
- Try Scroll: https://scroll.pub
- Chat CSS style inspiration: https://codepen.io/karolsw3/pen/KZmvGG
footer.scroll