hzclish - CLI bash script for posting/reading on Hubzilla (ex Red Matrix) hub
uzver a82741f644 fix/upd: functions to print the output; upd: options | hace 1 año | |
---|---|---|
dependencies | hace 2 años | |
.gitignore | hace 2 años | |
INSTALL.md | hace 2 años | |
README.md | hace 1 año | |
README.old.md | hace 2 años | |
hzclish | hace 1 año | |
hzclish.old | hace 2 años |
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: