graph-store: add %mention type

This commit is contained in:
Liam Fitzgerald 2020-11-03 10:39:24 +10:00
parent 04c1ad6653
commit 92fec34658
2 changed files with 4 additions and 1 deletions

View File

@ -74,6 +74,7 @@
|= c=^content |= c=^content
^- json ^- json
?- -.c ?- -.c
%mention (frond %mention (ship ship.c))
%text (frond %text s+text.c) %text (frond %text s+text.c)
%url (frond %url s+url.c) %url (frond %url s+url.c)
%reference (frond %reference (uid uid.c)) %reference (frond %reference (uid uid.c))
@ -324,7 +325,8 @@
:: ::
++ content ++ content
%- of %- of
:~ [%text so] :~ [%mention (su ;~(pfix sig fed:ag))]
[%text so]
[%url so] [%url so]
[%reference uid] [%reference uid]
[%code eval] [%code eval]

View File

@ -28,6 +28,7 @@
:: ::
+$ content +$ content
$% [%text text=cord] $% [%text text=cord]
[%mention =ship]
[%url url=cord] [%url url=cord]
[%code expression=cord output=(list tank)] [%code expression=cord output=(list tank)]
[%reference =uid] [%reference =uid]