Multiline Code Block Highlighting in Edit Mode
32teeth opened this issue · comments
Eugene Andruszczenko commented
Issue
When creating a multi line code block in the editor the representation is really wonky
Options
- Prevent any highlighting in edit mode (this is standard convention)
- Highlight entire row across text
#!/bin/bash
# Usage: fusi-curl-report.sh [curl options]
curl -w @- -o /dev/null -s "$@" <<'EOF'
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
EOF
GitHub Editor Mode
No highlighting
Andrey (Andrii) Los commented
Look at how to style the editor styles on easymde docs or in codemirror docs that powers it. Styling is not in scope of this wrapper library.
Feel free to re-open if it makes sense. Thanks.