36 Matching Annotations
  1. Last 7 days
  2. May 2020
    1. Sin embargo, con la ayuda de mis compañeros logré hacerlo; esto demostró la importancia del trabajo colaborativo. Página de Ejercicio en Markdown.

      Tanto esa página como esta, da cuenta de las apropiaciones de Markdown como manera de publicar el hipertexto para expresar parte de nuestra voz es espacios digitales.

      En la página enlazada, no hay títulos de jerarquía 1, que empiezan con #, sino que se empieza con subtítulos, que empiezan con ##. Si se considera la estructuración semántica de las páginas, no deberían haber subtítulos sin títulos.

  3. Apr 2020
    1. [link](url){:target="_blank"} Works for jekyll or more specifically kramdown, which is a superset of markdown, as part of Jekyll's (default) configuration. But not for plain markdown. ^_^
    2. This is pretty old now, but it should absolutely be mentioned that you can NOT always fall back to html - I suspect that MOST places that support markdown don't support html.

      Not sure if this is true, though. GitHub and GitLab support HTML, for example.

      Maybe comments on websites wouldn't normally allow it; I don't know. But they should. One can use this filter, for example, to make it safer.

    3. Markdown provides shorthand for the most common features of HTML. One of its best features is that you can always fallback to the full syntax for HTML. This includes doing things that aren't included in markdown. Personally, I like that markdown is concise and includes very little fluff. It makes it easier to learn the whole set of shorthand. This is particularly important if you expect someone else to read your code later.

      One of its best features is that you can always [fall back[ to the full syntax for HTML.

      See rebuttal below.

    1. 快捷键 Ctrl + N 创建一个以 .md 为文件扩展名的 Markdown 文件

      这句话太省略了,不保存是没法创建扩展名的

  4. Mar 2020
    1. This makes it easy to use Markdown to write about HTML code. (As opposed to raw HTML, which is a terrible format for writing about HTML syntax, because every single < and & in your example code needs to be escaped.)
    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.

  5. 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.

  6. Dec 2019
  7. Oct 2019
    1. MDX is a superset of Markdown. It allows you to write JSX inside markdown. This includes importing and rendering React components!
  8. May 2019
  9. Nov 2018
  10. 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 标签实现

  11. 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.

  12. Jan 2015
  13. 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!

  14. Sep 2013