Closed weavejester closed 9 years ago
Think there is just the addition of the "~" char to the list of special chars missing for option STRIKETHROUGH
. See org.pegdown.Parser
.
public Rule SpecialChar() {
String chars = "*_`&[]<>!#\\";
if (ext(QUOTES)) {
chars += "'\"";
}
if (ext(SMARTS)) {
chars += ".-";
}
if (ext(AUTOLINKS)) {
chars += "(){}";
}
if (ext(DEFINITIONS)) {
chars += ":";
}
if (ext(TABLES)) {
chars += "|";
}
if (ext(DEFINITIONS) | ext(FENCED_CODE_BLOCKS)) {
chars += "~";
}
for (Character ch : plugins.getSpecialChars()) {
if (!chars.contains(ch.toString())) {
chars += ch;
}
}
return AnyOf(chars);
}
Closed by #181.
Curiously, the
STRIKETHROUGH
extension doesn't appear to work on its own in 1.4.2. It only works if theFENCED_CODE_BLOCKS
extension is also active.