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

View File

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