215 Matching Annotations
  1. Mar 2020
    1. On top of standard Markdown blockquotes, which require prepending > to quoted lines, GFM supports multiline blockquotes fenced by >>>:

      First sighting of this >>>. I like it! It's always a pain to paste in a quote and then have to manually prefix every line with >, esp. if there are many lines.

      I also like that it very nicely parallels the multilne code block delimeter syntax.

  2. Feb 2020
    1. Make your own automatic blogroll This is the script I use to generate a blogroll from my OPML: #! /usr/bin/env python3 """ Parse OPML into markdown. """ import sys import re from xml.etree import ElementTree def main(fname): with open(fname, 'r', encoding='utf8') as fp: tree = ElementTree.parse(fp) for cat_node in tree.find('body').findall('outline'): print("\n## {}\n".format(cat_node.get('title'))) for node in cat_node.findall('outline'): name = node.attrib.get('text') feedurl = node.attrib.get('xmlUrl') url = node.attrib.get('htmlUrl') print("* [{}]({}) ([feed]({}))".format(name, url, feedurl)) if __name__ == "__main__": main(*sys.argv[1:])

      This is an awesome little script that may come in handy.

  3. Dec 2019
  4. Oct 2019
    1. MDX is a superset of Markdown. It allows you to write JSX inside markdown. This includes importing and rendering React components!
  5. May 2019
  6. Nov 2018
  7. Mar 2018
    1. As of this writing, Markdown has no syntax for specifying the dimensions of an image; if this is important to you, you can simply use regular HTML <img> tags.

      markdown 目前的语法不支持设置图片大小, 但可以通过一般的HTML 标签实现

  8. Jun 2016
    1. Hartl’s Tenth Rule of Typesetting Any sufficiently complicated typesetting system contains an ad hoc, informally specified, bug-ridden, slow implementation of half of LATEX.

      Sounds like Norman’s Law.

  9. Jan 2015
  10. Oct 2013
    1. Modern science has proved that the fundamental traits of every individual are indelibly stamped in the shape of his body, head, face and hands—an X-ray by which you can read the characteristics of any person on sight.

      Ma première annotation partagée publiquement!

  11. Sep 2013