ipython笔记本 – ipython笔记本对齐表在单元格的左边

我有以下ipython笔记本代码(markdown):

#### example table
|Name|Description|
|--|-------------------------------|
|Mary |She is a nice girl.|
|Jackie |He is a very naughty boy.|

输出如下所示:

我怎么能够:

>左对齐单元格的表格,默认为中心.
右对齐第二个col文本.

最佳答案
嗯,是 !

| Name | Description | age         
| :- |-------------: | :-:
|Mary| She is a nice girl.  | 20
| Jackie Junior | He is a very naughty boy. | 5

>:—或— =左对齐
> —:=右对齐
>:—:=居中

转载注明原文:ipython笔记本 – ipython笔记本对齐表在单元格的左边 - 代码日志