Markdown Syntax & Style

Basic Syntax

I just love bold text. Italicized text is the cat’s meow. Both can look cool too.

At the command prompt, type nano.
And then press CTRL+ALT+Delete to end the session.

Sometimes, when I want to talk about #lua, for example, I’ll use a hashtag when I’m writing. That lets me keep things, sorta #linked. I’m also supporting at-ing folk, like this: @sarah, but that’s just a fancy hashtag.

  1. This is a link to another internal page, which might interest you.
  2. This one is an anchor on this page, which you’ve probably seen.
  3. External links:

I’m also expecting raw urls, like: https😕/accidental.cc to be automatically linked.

Do email addresses work? jon@accidental.cc

Some bullet lists

Later, I can add some bullet lists with paragraphs in them.

Are tasks lists useful?

Some inline styles

The world is flat. We now know that the world is round.

I’ve got code here, which is important. I like emacs, with evil for vim-like modal editing.

Do we do anything with #hashtags? I think it would be useful to extract and style/link them from #homepost entries.

That said, we shouldn’t be finding things in#themiddle#ofwords nor with@signs

GIF is a bitmap image format.

H2O is a good molecule.

Inline math: an=bn+cna^n = b^n + c^n

Fake inline math: Xn + Yn = Zn

Emojis! Thumbs up: 👍, thumbs down: 👎

Press CTRL+ALT+Delete to end the session.

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

Blocks n’ such

Blockquotes

Tiam, ad mint andaepu dandae nostion secatur sequo quae.
Note that you can use Markdown syntax within a blockquote.

Attribution via cite and footnotes:

Being a good software engineer is 3% talent, 97% not being distracted by the internet. - Unknown, appropriated1

Code

@@ -4,6 +4,5 @@
-    let foo = bar.baz([1, 2, 3]);
-    foo = foo + 1;
+    const foo = bar.baz([1, 2, 3]) + 1;
     console.log(`foo: ${foo}`);
(ql:quickload :usocket)
    
(defvar *host* "0.0.0.0")
(defvar *port* 7000)
    
(let ((server-socket (usocket:socket-listen *host* *port*)))
  (let ((client-socket (usocket:socket-accept server-socket)))
    ;; do something with the client connection
    (usocket:socket-close client-socket))
  (usocket:socket-close server-socket))
set @my_var = 'foo';
set @my_other_var = 'bar';

insert into people
values ('John', 'Doe');
Query OK, 1 row affected (0.02 sec)

select *
from people
order by last_name;
+------------+-----------+
| first_name | last_name |
+------------+-----------+
| John       | Doe       |
+------------+-----------+

Diagrams and Images and Stuff

Tables

SyntaxDescription
HeaderTitle
ParagraphText
ItalicsBoldCode
italicsboldcode

Diagrams

A
B
C
D
(k=1nakbk)2(k=1nak2)(k=1nbk2)\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)

Photos

This is a placeholder image description

Headings

We’ve seem h1-h4 above, this is the set from 3 down:

H4

H5
H6

Footnotes

  1. From a great old SO thread on “your favorite quotes about programming.”