手动创建一个table并自动编号其标题,word输出
Manually create a table and automatically number its caption, word output
我想在手动输入的 table 之上显示我的 table 标题。我正在使用以下代码,但标题未显示在针织输出中。请看看我如何改进我的代码。谢谢,新年快乐。
---
title:
author:
date:
output:
word_document:
toc: yes
highlight: tango
documentclass: book
---
[Table: table name]
| column 1 | column 2 | column 3|
| -------- | -------- | --------|
| 1 | a | b |
| 2 | c | d |
Pandoc 的表格语法是
: table name
| column 1 | column 2 | column 3|
| -------- | -------- | --------|
| 1 | a | b |
| 2 | c | d |
这是它在 Word 中的样子:
也祝你新年快乐!
我想在手动输入的 table 之上显示我的 table 标题。我正在使用以下代码,但标题未显示在针织输出中。请看看我如何改进我的代码。谢谢,新年快乐。
---
title:
author:
date:
output:
word_document:
toc: yes
highlight: tango
documentclass: book
---
[Table: table name]
| column 1 | column 2 | column 3|
| -------- | -------- | --------|
| 1 | a | b |
| 2 | c | d |
Pandoc 的表格语法是
: table name
| column 1 | column 2 | column 3|
| -------- | -------- | --------|
| 1 | a | b |
| 2 | c | d |
这是它在 Word 中的样子:
也祝你新年快乐!