Closed s5unty closed 7 years ago
@s5unty Thanks! This looks like it will be useful. 👍
I added this to the wiki on Github: https://github.com/insanum/sncli/wiki/Tips-and-Tricks
Feel free to edit it there if it requires changes, or add other tips/tricks/tutorials! 😄
Hello, I reopen this issue. I have tried this today. It works fine with a file created with VI but not with a sncli note.
Here's the content of the json file I've used:
{
"localkey": "91f11e44d8e848e683be6e8730ac0f37",
"content": "Markdown test note\n\nThis is **bold**\n\n* line 1\n * line 11\n * line 12\n * line 13\n\nTest table\n\n First Header | Second Header\n ------------- | -------------\n Content Cell | Content Cell\n Content Cell | Content Cell\n Content Cell | Content Cell\n Content Cell | Content Cell\n\n\n",
"deleted": false,
"modificationDate": 1628620589.920994,
"creationDate": 1628620485.484973,
"savedate": 1628620542.557101,
"syncdate": 1628620589.925049,
"tags": [],
"shareURL": "",
"publishURL": "",
"systemTags": [
"markdown"
],
"version": 4,
"key": "91f11e44d8e848e683be6e8730ac0f37"
}
It is displayed as ordinary text.
Am I doing something wrong?
When I say it works with a file, I mean there is only the content
part, and \n
is replaced with a real linefeed.
I have found. I had forgotten thi:
# view note in `cfg_pager`
kb_view_note_ext = meta enter
It's all ok now!
/usr/local/sbin/mdless
~/.snclirc