Example Post
creating a post
- can create a new file and follow naming
YEAR-MONTH-DAY-title.markdown
whereYEAR
is a four-digit number,MONTH
andDAY
are both two-digit numbers. - Copy existing post and adjust accordingly.
post meta data
Layout Will be post no matter use at this time
Title Short and sweet is usually best, for release notes v major#.Feature#.patch#. For status update posts keep it the feature title, the home page uses title to filter and show what we expect.
Date
2020-05-09 14:24:13 -0600
format only
Categories
release-note, status-profile, status-autoemails, status-signup are current options. Considering each category is used for a different part of this site at the moment you will only use one. However, in the future if multiple are needed they need to be in an array.
_status*
not always used in the post, is used for feature status update indication. Available statuses are live, blocked, on-roadmap, in progress.
content formatting
Most markdown syntax will apply for posts. The usuall will be
-
Headers the number of # will determine level of heading
#
is h1##
is h2 and so forth. For whatever reason this theme’s h1 is smaller than h2. -
Lists, for ordered aka numbered type the numeber then period and type whatever content. For unordered a single hyphen is needed -
-
text formatting
*bold*
bold_italic_
italic*_bold and italic_*
_bold and italic_~~strike through~~
strike through. - blockquotes work like slack with > in front of the text.
blockquote example
- task lists
- Write the press release
- Update the website
- Contact the media
- horizontial rules
<hr>
- Tables, are not pretty but doable. (copy ripped from markdown cheetsheet) Colons can be used to align columns.
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don’t need to make the raw Markdown line up prettily. You can also use inline Markdown.
Markdown | Less | Pretty |
---|---|---|
Still | renders |
nicely |
1 | 2 | 3 |
Additional formatting worth noting.
- helpful markdown examples
- Jekyll is powerful for code snippets:
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.