hzclish - CLI bash script for posting/reading on Hubzilla (ex Red Matrix) hub
uzver a82741f644 fix/upd: functions to print the output; upd: options | 1 vuosi sitten | |
---|---|---|
dependencies | 2 vuotta sitten | |
.gitignore | 2 vuotta sitten | |
INSTALL.md | 2 vuotta sitten | |
README.md | 1 vuosi sitten | |
README.old.md | 2 vuotta sitten | |
hzclish | 1 vuosi sitten | |
hzclish.old | 2 vuotta sitten |
For markdown to bbcode:
or:
See: INSTALL.md
Run hzclish -h
for help.
Config folder: ~/.hzclish
-P
or -m
options to change markdown engine).-B
option, so message won't be markdowned and will be sent as bbcode mimtype.-H
option, so message won't be markdowned and will be sent as html mimtype. Hashtags won't works in this case.-M
option, so message won't be markdowned and will be sent as html mimtype. Hashtags won't works in this case.*cat1 *cat2 ... *cat3
(asterisk and text), will be parsed as post categories (It's like tags, but categories).#tag1 #tag2 ... #tag3
(hash + text) will be parsed as hashtags (if they not starting the line). Also the very last line (of your post message) with tags: #tag1 #tag2 ... #tag3
will be treated as hashtags too, even if it starts the line.# Title of message
(one hash + space + text), will be parsed as title of the post (In Hubzilla you can define the post title in separate field).<>
brackets like this: <http://example.com/>
or []()
brackets like this: [link](http://example.com/)
.http://example.com/url_with_underscores
, the markdown will parse it to emphasis: http://example.com/url<em>with</em>underscores
, which is breaks the url. So escape the _
underscore with backslash: http://example.com/url\_with\_underscores
, or use markdown syntax: wrap url in <>
brackets like this: <http://example.com/url_with_underscores>
.http://www.youtube.com/watch?v=MejbOFk7H6c`***SPACES-GOES-HERE***`
#tag1 #tag2 #tag3
v2.2.1
v2.2:
v2.0: