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

Indented code blocks #82

Closed
superbobry opened this issue Jun 23, 2016 · 3 comments
Closed

Indented code blocks #82

superbobry opened this issue Jun 23, 2016 · 3 comments

Comments

@superbobry
Copy link

Currently dokka only allows code blocks enclosed in triple backquotes, e.g.

```
foo.bar()
```

Markdown also supports indented code blocks, which IMO are better suited for documentation.

Would be happy to see this supported as well someday :)

@apatrida
Copy link

Are you talking about code blocks within the KDOC that should be recognized as indented? So the parsing of KDOC? Or are you asking for the output to be indented instead of fenced in backticks?

@superbobry
Copy link
Author

Are you talking about code blocks within the KDOC that should be recognized as indented?

Yep, exactly that.

@semoro
Copy link
Contributor

semoro commented May 29, 2017

Fixed in 0.9.14

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

3 participants