mirror of
https://github.com/caylakpenguen/bashblog.git
synced 2024-12-13 11:39:33 +03:00
support Markdown.pl in bashblog folder. Close #113
This commit is contained in:
parent
7154c0746b
commit
36d79b5cdd
2
bb.sh
2
bb.sh
|
@ -160,7 +160,7 @@ global_variables() {
|
|||
|
||||
# Markdown location. Trying to autodetect by default.
|
||||
# The invocation must support the signature 'markdown_bin in.md > out.html'
|
||||
markdown_bin=$(which Markdown.pl 2>/dev/null || which markdown 2>/dev/null)
|
||||
[[ -f Markdown.pl ]] && markdown_bin=./Markdown.pl || markdown_bin=$(which Markdown.pl 2>/dev/null || which markdown 2>/dev/null)
|
||||
}
|
||||
|
||||
# Check for the validity of some variables
|
||||
|
|
Loading…
Reference in New Issue
Block a user