protected static String convertToWikiIndent(String wikiText) {
        String[] linesArr = wikiText.split("\\n");

        for (int i = 0; i < linesArr.length; i++) {
            if (linesArr[i].trim().isEmpty() == false) {
                char firstChar = linesArr[i].trim().charAt(0);
                if (Character.isDigit(firstChar)) {
                    linesArr[i] = "#" + linesArr[i].trim().substring(2);
                }
            }
        }
        return ArrayUtils.join(linesArr, "\n");
    }