Python
<http://example.com/>
< address@example.com>
| | |
|-|-|
Normal Key|Value1
- Item 1
- Item 1a
< br/>
\
(<-- two spaces)
Named anchor
we can use html in markdown
< a name = " mac-mail" > </ a>
[Mail's Shortcuts](http://lifelongprogrammer.blogspot.com/2018/05/keyboard-shortcuts.html#mac-mail)
markdown, java, json,html, javascript, shell, yaml, xml etc
Functions: export as html, save to google drive, blogger, github, dropbox etc
alternatives: https://dillinger.io/
Blogger with markdown
Why: Focus on the content, easy to store/edit the content locally
1: Use “Copy Html” function from markdown-preview-plus
<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="font-size: large;">
_copy_html_output_from_markdown-preview-plus_
</div></div>
2: Use pandoc
pandoc -f markdown -t html5 -c style.css -s --highlight-style espresso -o the_output.html the.md
pandoc -f markdown -t html5 -c style.css -s --highlight-style espresso -o the.md | pbcopy
then remove no needed head, body tags
Atom
pandoc
brew install pandoc
Add eval “$(pandoc --bash-completion)” to ${HOME}/.bash_profile
generate pdf: -o output.df
install this first: brew cask install mactex
generate ppt: -o output.pptx
pandoc --list-extensions
pandoc --list-output-formats
in-browser, markdown-driven slideshow tool
Gotcha
Space matters:
for link, no space between [] and (), for header, need space between ### and the words
check the colors in atom
Empty line matters
when not sure, add empty line
Basic Syntax
~~crossed out~~
_ italic_
__ bold__
_You ** can** combine them_
> This is a blockquote
// horizontal rule tag (<hr />)
---
// Code span - use `and`
Type `echo 'Hello World'`
No comments:
Post a Comment