org.commonmark.ext.gfm.strikethrough.Strikethrough Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commonmark-ext-gfm-strikethrough Show documentation
Show all versions of commonmark-ext-gfm-strikethrough Show documentation
commonmark-java extension for GFM strikethrough using ~~ (GitHub Flavored Markdown)
package org.commonmark.ext.gfm.strikethrough;
import org.commonmark.node.CustomNode;
import org.commonmark.node.Delimited;
/**
* A strikethrough node containing text and other inline nodes nodes as children.
*/
public class Strikethrough extends CustomNode implements Delimited {
private static final String DELIMITER = "~~";
@Override
public String getOpeningDelimiter() {
return DELIMITER;
}
@Override
public String getClosingDelimiter() {
return DELIMITER;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy