Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java example in markdown is not correct #124

Open
qingjiaorose157 opened this issue Aug 25, 2023 · 0 comments
Open

java example in markdown is not correct #124

qingjiaorose157 opened this issue Aug 25, 2023 · 0 comments

Comments

@qingjiaorose157
Copy link

final String src = "Some Markdown";
final MarkdownFlavourDescriptor flavour = new GFMFlavourDescriptor();
final ASTNode parsedTree = new MarkdownParser(flavour).buildMarkdownTreeFromString(text);
final String html = new HtmlGenerator(src, parsedTree, flavour, false).generateHtml()

in last line above, generateHtml() must have a param, while the document don't have
also the text is not defined

QCuncle added a commit to QCuncle/markdown that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant