Package com.overzealous.remark

Examples of com.overzealous.remark.Options


*/
public class AnchorInlineTest extends RemarkTester {

  @Override
  public Remark setupRemark() {
    Options opts = Options.markdown();
    opts.inlineLinks = true;
    return new Remark(opts);
  }
View Full Code Here


*/
public class IgnoredHTMLTest extends RemarkTester {

  @Override
  public Remark setupRemark() {
    Options opts = Options.markdown();
    opts.getIgnoredHtmlElements().add(IgnoredHtmlElement.create("var"));
    opts.getIgnoredHtmlElements().add(IgnoredHtmlElement.create("strike", "class"));
    return new Remark(opts);
  }
View Full Code Here

*/
public class AnchorSimpleIdTest extends RemarkTester {

  @Override
  public Remark setupRemark() {
    Options opts = Options.markdown();
    opts.simpleLinkIds = true;
    return new Remark(opts);
  }
View Full Code Here

*/
public class AnchorRelativeLinkTest extends RemarkTester {

  @Override
  public Remark setupRemark() {
    Options opts = Options.markdown();
    opts.preserveRelativeLinks = true;
    return new Remark(opts);
  }
View Full Code Here

*/
public class TableRemoveTest extends RemarkTester {

  @Override
  public Remark setupRemark() {
    Options opts = Options.markdown();
    opts.tables = Options.Tables.REMOVE;
    return new Remark(opts);
  }
View Full Code Here

*/
public class InwordEmphasisSpacedTest extends RemarkTester {

  @Override
  public Remark setupRemark() {
    Options opts = Options.markdown();
    opts.inWordEmphasis = Options.InWordEmphasis.ADD_SPACES;
    return new Remark(opts);
  }
View Full Code Here

TOP

Related Classes of com.overzealous.remark.Options

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.