Search

Destiny Smasher

1 min read 0 views
Destiny Smasher

Here is a short example of a document that contains both prose and code. The prose section is written in normal Markdown paragraph syntax, using plain text.

class MixedProseAndCode
{
  public static void main(String[] args)
  {
    System.out.println("Hello, World!");
  }
}

We intentionally put the prose section first, then the code block. This is particularly useful for examples where the reader needs to read a short explanation before they see the code.

Was this helpful?

Share this article

See Also

Suggest a Correction

Found an error or have a suggestion? Let us know and we'll review it.

Comments (0)

Please sign in to leave a comment.

No comments yet. Be the first to comment!