Closed davidhcefx closed 3 years ago
Hi, the proper syntax highlighting works for shell will need to append $
or >
before every command line, otherwise it's just output text.
$ echo $EDITOR
vim
$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
$ git push
Everything up-to-date
$ echo 'All
> done!'
All
done!
> find $PWD -maxdepth "4" -type 'f' -executable -perm -4000
$ find $PWD -maxdepth "4" -type 'f' -executable -perm -4000
Is this a hackmd.io issue?
Read our Official tutorial
It's on https://hackmd.io/c/tutorials/
或是中文版 https://hackmd.io/c/tutorials-tw/
What's the problem
Code block highlighting not working properly in view mode:
From the above screenshot, note that:
However, what's strange is that ADDING THE SECOND = OR ! DO SOLVE THE PROBLEM! I have no idea how that works.
Current behaviour
Provide steps to reproduce:
Expected behaviour
Code been highlighted properly instead of no color at all (black on white).
Environment
I use HackMD on:
Desktop
Additional context
Add any other context about the problem here.