Support strikethrough elements

This commit is contained in:
Christian Muehlhaeuser
2019-12-13 03:00:45 +01:00
parent 6f20136abc
commit 0a3ba0ae35
3 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ func isChild(node ast.Node) bool {
// These types are already rendered by their parent
switch node.Parent().Kind() {
case ast.KindLink, ast.KindImage, ast.KindEmphasis, ast.KindBlockquote, astext.KindTableCell:
case ast.KindLink, ast.KindImage, ast.KindEmphasis, astext.KindStrikethrough, ast.KindBlockquote, astext.KindTableCell:
return true
default:
return false