|
|
@@ -84,6 +84,13 @@ class MarkdownTableUtil {
|
|
|
return editor.getDoc().getRange(curPos, this.getEot(editor));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * return strings from BOT(beginning of table) to EOT(end of table)
|
|
|
+ */
|
|
|
+ getStrFromBotToEot(editor) {
|
|
|
+ return editor.getDoc().getRange(this.getBot(editor), this.getEot(editor));
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* returns markdown table whose described by 'markdown-table' format
|
|
|
* ref. https://github.com/wooorm/markdown-table
|