Skip to content

Commit e58adad

Browse files
committed
Plugin: nb daily - make entries look a bit better in browsers
instead of: [timestamp1] blah1 blah1 blah1 [timestamp2] blah2 blah2 blah2 [timestamp3] blah3 blah3 blah3 it looks better to have: ### [timestamp1] * blah1 blah1 blah1 ### [timestamp2] * blah2 blah2 blah2 ### [timestamp3] * blah3 blah3 blah3
1 parent 4d238db commit e58adad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/daily.nb-plugin

+4-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ _daily() {
140140
local _formatted_content=
141141
_formatted_content="$(_join " " "${_content[@]}")"
142142

143-
local _timestamped_content="[${_timestamp}] ${_formatted_content}"
143+
local _timestamped_content=""
144+
### [${_timestamp}]
145+
* ${_formatted_content}
146+
"
144147
145148
if [[ ! -e "${_target_path:-}" ]]
146149
then

0 commit comments

Comments
 (0)