Added script to vied md files in Zathura.
It uses pandoc to converd .md files to pdf, and pipes the output to Zathura.
This commit is contained in:
parent
1add6c3d32
commit
ffc32accc2
@ -73,3 +73,11 @@ function unrealbuild {
|
|||||||
${UNR_PATH}/Engine/Build/BatchFiles/Linux/RunMono.sh ${UNR_PATH}/Engine/Binaries/DotNET/UnrealBuildTool.exe $PROJ_NAME -ModuleWithSuffix $PROJ_NAME Linux Development -editorrecompile -canskiplink "${CURR_DIR}/${PROJ_NAME}.uproject" -progress
|
${UNR_PATH}/Engine/Build/BatchFiles/Linux/RunMono.sh ${UNR_PATH}/Engine/Binaries/DotNET/UnrealBuildTool.exe $PROJ_NAME -ModuleWithSuffix $PROJ_NAME Linux Development -editorrecompile -canskiplink "${CURR_DIR}/${PROJ_NAME}.uproject" -progress
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# view markdown files in zathura
|
||||||
|
viewmd()
|
||||||
|
{
|
||||||
|
[ -z $1 ] && return
|
||||||
|
[ ! -f $1 ] && return
|
||||||
|
pandoc -t pdf $1 | zathura - 2>&1 /dev/null & disown
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user