Skip to content

Commit

Permalink
Plugin: nb daily - make entries look a bit better in browsers
Browse files Browse the repository at this point in the history
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
  • Loading branch information
voxelv committed Feb 4, 2025
1 parent 4d238db commit e58adad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/daily.nb-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ _daily() {
local _formatted_content=
_formatted_content="$(_join " " "${_content[@]}")"

local _timestamped_content="[${_timestamp}] ${_formatted_content}"
local _timestamped_content=""
### [${_timestamp}]
* ${_formatted_content}
"
if [[ ! -e "${_target_path:-}" ]]
then
Expand Down

0 comments on commit e58adad

Please sign in to comment.