Add minimal affiliated keyword support. Just captions for now
This commit is contained in:
parent
2399fec2eb
commit
043095e672
7 changed files with 138 additions and 8 deletions
|
@ -17,3 +17,10 @@ func isEmptyLineParagraph(n Node) bool {
|
|||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func isImageOrVideoLink(n Node) bool {
|
||||
if l, ok := n.(RegularLink); ok && l.Kind() == "video" || l.Kind() == "image" {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue