To make the output of Markdown Pandoc table clearer

南笙酒味 提交于 2019-12-10 12:23:43

问题


Markdown Pandoc Table

----------------------------------------------------------
Protocol of Treatment
----------------------------------------------------------
PAH is classified into 5 groups. 

Suspect pulmonary hypertension if patients have dyspnea 
unexplained by another clinically evident 
cardiac or pulmonary disorder.

Chest x-ray, 
spirometry, 
ECG, 
transthoracic Doppler ECHO

Confirm the diagnosis by right heart catheterization.

Treat group 1 by giving pulmonary vasodilators 
and, if these are ineffective, considering 
lung transplantation.

Treat groups 2 to 5 by managing the underlying 
disorder, treating symptoms, and 
sometimes other measures.
-----------------------------------------------------------

Table: Protocol of Pulmonary Hypertension. 

which I convert to a table as described by this answer

Options for clarity

  • increase width of cells
  • put separating lines between cells
  • ?

There does not seem to be any option for this here. The option -S is not the correction one.

How can you make the output of Markdown Pandoc table clearer?


回答1:


Pandoc gives you the option of using templates. So maybe you can figure out how to use LaTeX's \renewcommand etc. to change the appearance of all tables generated by pandoc.

If you're like me, and are not too much into LaTeX macros, you can use ConTeXt instead of LaTeX where instead of hacking around with \renewcommand you can usually do stuff more cleanly (e.g. using \setupTABLE in the pandoc template).



来源:https://stackoverflow.com/questions/30555425/to-make-the-output-of-markdown-pandoc-table-clearer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!