IMPORTANT
- App version: 2.16.1
- Android version/rom: 11
- Device: Moto G9 Play
- I accept that this issue will be closed without further notice in case I didn't describe the problem including general information, or didn't search for similar issues & requests.
Explain the Problem
Whenever I create a codeblock using the two of the ` symbol, any single quotes ' inside are rendered as ’‘ in View mode 👁️.
This problematic because I want to copy script snippets from Markor and paste them in Termux, but ’‘ aren't valid script characters.
I wish that Markor didn't render ' as anything other than ', just like VS Code and GitHub render ' as ' in the view mode of .md files.
Steps to Reproduce
If you paste <code> /system/bin/dumpsys deviceidle 2>/dev/null | awk -F'=' '/mNetworkConnected=/ {print $2; exit}' </code> in Markor, its View mode will replace ' with ’‘ and look like this:
/system/bin/dumpsys deviceidle 2>/dev/null | awk -F’=’ ‘/mNetworkConnected=/ {print $2; exit}’ which fails in Termux.
GitHub, VS Code and every Markdown rendering app I ever came across keep ' as it is so it correctly renders like this:
/system/bin/dumpsys deviceidle 2>/dev/null | awk -F'=' '/mNetworkConnected=/ {print $2; exit}'
Note: you don't need to check that this line actually works in Termux. I'm only asking that you check that it renders '' correctly instead of ’‘.
If for whatever reason you wish to actually check that this line works in Termux,
it requires that you enter the following line just once in ADB Shell: pm grant com.termux android.permission.DUMP
OR this line in Termux with rish and Shizuku on: rish -c "pm grant com.termux android.permission.DUMP".
This line checks if there's any internet connection, by WiFi, Cellular Mobile Data or both, if you're curious.
IMPORTANT
Explain the Problem
Whenever I create a codeblock
using the two of the ` symbol, any single quotes ' inside are rendered as ’‘ in View mode 👁️.This problematic because I want to copy script snippets from Markor and paste them in Termux, but ’‘ aren't valid script characters.
I wish that Markor didn't render ' as anything other than ', just like VS Code and GitHub render ' as ' in the view mode of .md files.
Steps to Reproduce
If you paste
<code>/system/bin/dumpsys deviceidle 2>/dev/null | awk -F'=' '/mNetworkConnected=/ {print $2; exit}'</code>in Markor, its View mode will replace ' with ’‘ and look like this:/system/bin/dumpsys deviceidle 2>/dev/null | awk -F’=’ ‘/mNetworkConnected=/ {print $2; exit}’which fails in Termux.GitHub, VS Code and every Markdown rendering app I ever came across keep ' as it is so it correctly renders like this:
/system/bin/dumpsys deviceidle 2>/dev/null | awk -F'=' '/mNetworkConnected=/ {print $2; exit}'Note: you don't need to check that this line actually works in Termux. I'm only asking that you check that it renders '' correctly instead of ’‘.
If for whatever reason you wish to actually check that this line works in Termux,
it requires that you enter the following line just once in ADB Shell:
pm grant com.termux android.permission.DUMPOR this line in Termux with rish and Shizuku on:
rish -c "pm grant com.termux android.permission.DUMP".This line checks if there's any internet connection, by WiFi, Cellular Mobile Data or both, if you're curious.