yarnc
using the new $EDITOR function. πI do love my Vim (or maybe it's Stockholm Syndrome π€£) so this is pretty neat.
# I am the Watcher. I am your guide through this vast new twtiverse. # # Usage: # https://watcher.sour.is/api/plain/users View list of users and latest twt date. # https://watcher.sour.is/api/plain/twt View all twts. # https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri. # https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject. # # Options: # uri Filter to show a specific users twts. # offset Start index for quey. # limit Count of items to return (going back in time). # # twt range = 1 36 # self = https://watcher.sour.is/conv/6ywpjna
yarnc
using the new $EDITOR function. πyarnc
did not like my newline in that post (even though it's not showing as a newline in the web interface).set number
, setting a theme etc.yarnc
timeline.
#!json\n {\n "twter": {\n "nick": "eldersnake",\n "url": "https://yarn.andrewjvpowell.com/user/eldersnake/twtxt.txt",\n "avatar": "https://yarn.andrewjvpowell.com/user/eldersnake/avatar",\n "tagline": ""\n },\n "text": "Testing posting from
yarnc using the new $EDITOR function. π\\nI do love my Vim (or maybe it's Stockholm Syndrome π€£) so this is pretty neat.",\n "created": "2021-11-04T16:00:04+11:00",\n "markdownText": "Testing posting from
yarnc using the new $EDITOR function. π\\nI do love my Vim (or maybe it's Stockholm Syndrome π€£) so this is pretty neat.",\n "hash": "6ywpjna",\n "tags": [],\n "subject": "(#6ywpjna)",\n "mentions": [],\n "links": []\n },\n
\n\nHmmm looks alright, must be a display bug with yarnc
itself π€
n
{
"twter": {
"nick": "eldersnake",
"url": "https://yarn.andrewjvpowell.com/user/eldersnake/twtxt.txt",
"avatar": "https://yarn.andrewjvpowell.com/user/eldersnake/avatar",
"tagline": ""
},
"text": "Testing posting from
yarnc.",
"created": "2021-11-04T16:00:04+11:00",
"markdownText": "Testing posting from
yarnc.",
"hash": "6ywpjna",
"tags": [],
"subject": "(#6ywpjna)",
"mentions": [],
"links": []
},
yarnc
itself π€
n
{
"twter": {
"nick": "eldersnake",
"url": "https://yarn.andrewjvpowell.com/user/eldersnake/twtxt.txt",
"avatar": "https://yarn.andrewjvpowell.com/user/eldersnake/avatar",
"tagline": ""
},
"text": "Testing posting from
yarnc.",
"created": "2021-11-04T16:00:04+11:00",
"markdownText": "Testing posting from
yarnc.",
"hash": "6ywpjna",
"tags": [],
"subject": "(#6ywpjna)",
"mentions": [],
"links": []
},
yarnc
itself π€
twt.LiteralText()
instead of twt.FormatText()
and you should be good. https://i.imgur.com/FIpSnkj.png
twt.LiteralText()
instead of twt.FormatText()
and you should be good. https://i.imgur.com/FIpSnkj.png
FormatText
stripping out the lines. That formats with \\n
newlines so when unmarshalling it tries to parse the text and sees that as the end of twt. LiteralText
keeps the newlines as \\u2028
FormatText
stripping out the lines. That formats with \n
newlines so when unmarshalling it tries to parse the text and sees that as the end of twt. LiteralText
keeps the newlines as \u2028
FormatText
stripping out the lines. That formats with \\n
newlines so when unmarshalling it tries to parse the text and sees that as the end of twt. LiteralText
keeps the newlines as \\u2028