[英]Nested indention levels within a Pandoc flavored Markdown table
鑒於以下嘗試在 Markdown 表中獲取嵌套縮進:特別注意-Methods
及其嵌套項目- data sources
, - study eligibility criteria
等:
| Component | Description | Our Approach |
|---|---|---|
| Title | Identify the report as a systematic review incorporating a network meta-analysis (or related form of meta-analysis). | A Network Meta-Analysis of Treatments for Recurrent GBM |
| Abstract / Structured Summary | - _Background_ : main objectives |
| | - _Methods_ |
| | - data sources |
| | - study eligibility criteria |
| | - participants |
| | - interventions |
| | - study appriasal |
| | - synthesis methods such as NMA |
| | - _Results_ |
| | - number of studies and participants identified |
| | - summary estimates with corresponding confidence/credible intervals |
| | - treatment rankings may also be discussed |
| | - Authors may choose to summarize pairwsie comparisons against a chosen treatment |
| | included in their analyses for brevity |
通過pandoc
后的結果還不錯,但確實丟失了嵌套的縮進級別:
所以特別是對於以下幾行 - 有沒有辦法保留/支持嵌套的縮進?
| | - _Methods_ |
| | - data sources |
| | - study eligibility criteria |
| | - participants |
實現這一目標的一種方法是使用grid_tables
:
+-------------------------------+--------------------------------------------+------------------------------+
| Component | Description | Our Approach |
+===============================+============================================+==============================+
| Title | Identify the report as a systematic review | A Network Meta-Analysis of |
| | incorporating a network meta-analysis | Treatments for Recurrent GBM |
| | (or related form of meta-analysis). | |
+-------------------------------+--------------------------------------------+------------------------------+
| Abstract / | - _Background_ : main objectives | |
| Structured Summary | - _Methods_ | |
| | - data sources | |
| | - study eligibility criteria | |
| | - participants | |
| | - interventions | |
| | - study appraisal | |
| | - synthesis methods such as NMA | |
| | - _Results_ | |
| | - ... | |
+-------------------------------+--------------------------------------------+------------------------------+
作為參考,我使用此命令將 Markdown 轉換為 PDF:
cat tbl.md | pandoc -f markdown -t latex -V geometry:landscape -o tbl.pdf
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.