Hacker News new | past | comments | ask | show | jobs | submit login

Well, you do need things like emphasis, lists, headings etc., which aren't typically part of a programming language.



What do you mean? I’m talking about Java code inside javadoc, like code example docs.[1] That’s straightforward if the doc markup is MarkDown with code fences.

The MarkDown code character backtick is especially great for Java since it’s not a metacharacter in the Java syntax.

[1] I didn’t mean writing docs in Java itself, whatever that would look like.


Oh, ok. Yeah, that's supported, but it's also supported today without HTML with the snippet tag (and @code tag).


Okay great. Thanks Ron :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: