+++ /dev/null
-package eu.svjatoslav.sixth.core.document.content;
-
-import eu.svjatoslav.commons.string.String2;
-
-public class Verse implements Content {
- public final String verse;
-
- public Verse(String verse) {
- this.verse = verse;
- }
-
- @Override
- public void toMD(StringBuilder sb, int indent) {
- String2 s = new String2();
- s.append(" ", indent).append("```\n");
- // TODO: ensure that required indent is present
- s.append(verse + "\n");
- s.append(" ", indent).append("```\n");
- sb.append(s.toString());
- }
-}