Testing New Formatting Features

Here’s a demonstration of all the new formatting features in my Emacs Discourse integration!

Code Blocks
Here’s some Elisp code:

(defun hello-world ()
  "Say hello to the world."
  (interactive)
  (message "Hello, World!"))

Some Python code:

def fibonacci(n):
    """Return the nth Fibonacci number."""
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)

This is a blockquote
It can span multiple lines
And keeps the formatting

Lists

Here are some lists:

  • First item
  • Second item
    • Nested item
  • Third item

Inline Formatting

  • You can have italic text
  • And bold text
  • And inline code snippets
  • Special characters: © ® ™ …

Mixed Formatting

Here’s a quote with some bold text and code in it

  • It can even have lists
  • And italic text
1 Like