2016年4月5日 星期二

Sublime plugin

沒有留言 :
10 essential sublime text plugins full stack developer 提到 emmet plugin。

Write HTML & CSS Faster with Emmet 做了Emmet 的介紹,有很強的autocompletion功能,類似snippet。

Working with Code Snippets in Sublime Text

mathjax-wrapper

mathjax-wrapper可呈現兩種數學公式形式。

  1. 夾雜在文句之中,所謂的內嵌數學(inline math)。
  2. 自己單獨一行,所謂的外顯數學(display math)。

內嵌數學(inline math)

將數學式子用成對的$包起來

$\int_0^1 x^2 dx=\frac{1}{3}$,會產生

將數學式子用 \(\)包起來

\(\int_0^1 x^2 dx=\frac{1}{3}\),會產生

注意:假如要用Pandoc將md檔轉成html、docx、pdf等格式,不要使用 \(\)包起來的方式。

外顯數學(display math)

將數學式子用成對的$$包起來

$$\int_0^1 x^2 dx=\frac{1}{3}$$,會產生

將數學式子用 \[\]包起來

\[\int_0^1 x^2 dx=\frac{1}{3}\],會產生

注意:假如要用Pandoc將md檔轉成html、docx、pdf等格式,不要使用 \[\]包起來的方式。

2016年4月3日 星期日

responsive table

沒有留言 :
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus

Basic Table

The .table class adds basic styling (light padding and only horizontal dividers) to a table:
Firstname Lastname Email
John Doe john@example.com
Mary Moe mary@example.com
July Dooley july@example.com
Hon-Jang Yang \(\int_0^1 x^2\,dx=\frac{1}{3}\)

2016年4月2日 星期六

bootstrap compatible with dynamic template

沒有留言 :

Basic Table

The .table class adds basic styling (light padding and only horizontal dividers) to a table:

Firstname Lastname Email
John Doe john@example.com
Mary Moe mary@example.com
July Dooley july@example.com
Michael Chang \(\int_0^1 x^2\,dx=\frac{1}{3}\)