Fixed a bug in help generation.
This commit is contained in:
@@ -1562,7 +1562,7 @@ touch "${i3Path}/customizations"
|
|||||||
touch "${i3Path}/scratchpad"
|
touch "${i3Path}/scratchpad"
|
||||||
# Check for markdown or pandoc for converting the welcome document
|
# Check for markdown or pandoc for converting the welcome document
|
||||||
if command -v pandoc &> /dev/null ; then
|
if command -v pandoc &> /dev/null ; then
|
||||||
pandoc -f markdown -t html "I38.md" -so "${i3Path}/I38.html" --metadata title="Welcome to I38"
|
pandoc -f markdown-citations -t html "I38.md" -so "${i3Path}/I38.html" --metadata title="Welcome to I38"
|
||||||
elif command -v markdown &> /dev/null ; then
|
elif command -v markdown &> /dev/null ; then
|
||||||
cat << EOF > "${i3Path}/I38.html"
|
cat << EOF > "${i3Path}/I38.html"
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@@ -1603,7 +1603,7 @@ else
|
|||||||
fi
|
fi
|
||||||
textEditorHelp="${textEditor:-no text editor was configured}"
|
textEditorHelp="${textEditor:-no text editor was configured}"
|
||||||
if [[ -n "$fileBrowser" ]]; then
|
if [[ -n "$fileBrowser" ]]; then
|
||||||
fileBrowserHelp="I38 uses ${fileBrowser} for file management. Launch it in Ratpoison mode with the \`f\` key."
|
fileBrowserHelp="I38 uses ${fileBrowser} for file management. Launch it in Ratpoison mode with the <code>f</code> key."
|
||||||
else
|
else
|
||||||
fileBrowserHelp="No file manager was configured when this help file was generated."
|
fileBrowserHelp="No file manager was configured when this help file was generated."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user