1.簡單的表格
Markdown語言支持表格,但對表格有很多限制。
簡單的表格通過下面的格式即可生成,
如下的Markdown語言:
| 項目 | 價格 | 數量 |
| -------- | -----: | :----: |
| 計算機 | $1600 | 5 |
| 手機 | $12 | 12 |
| 管線 | $1 | 234 |
能生成下面的表格:
項目 | 價格 | 數量 |
---|---|---|
計算機 | $1600 | 5 |
手機 | $12 | 12 |
管線 | $1 | 234 |
2.復雜的表格#
Markdown 語法的目標是:成為一種適用于網絡的書寫語言。
Markdown有個特性就是兼容 HTML。
那么對于復雜的表格,比如合并了單元格,非常龐大的單元格等等,是不是可以利用一下支持Html格式的特性呢?
百度文庫里隨便找篇文章領導干部民主測評表
試想一下,如果用第一節的Markdown語言編輯出對應的excel,真是勞民傷財啊!給誰誰都不愿意干吧。
如果這個表格僅僅是用來閱讀,展示一些信息,那么完全可以用下面的方式來顯示。
- 準備好要處理的excel表格
- 打開excel,另存為html格式——wps、office都支持
- 找到新生成的文件夾下帶sheet的html文件,并用瀏覽器打開預覽,找到想要轉換的文件。
- 用NotePad++等閱讀工具打開html,找到
<table>
...</table>
標簽下的內容,復制到Markdown編輯器內。 - 表格即完成了Markdown的轉換。
下面的雖然不是百分百完美解決問題,仍然有些欠缺,可能跟這個excel表格有關系。
懂Html語言的,可以在這個基礎上,刪除一些單元格,做一些樣式的美化工作。
簡書可能暫時不支持這個HTML語言的表格,但是在其他支持的工具里,可以保證是能正常顯示的。
<table width="1262" border="0" cellpadding="0" cellspacing="0" style='width:946.50pt;border-collapse:collapse;table-layout:fixed;'>
<col width="49" style='mso-width-source:userset;mso-width-alt:1568;'/>
<col width="103" style='mso-width-source:userset;mso-width-alt:3296;'/>
<col width="349" style='mso-width-source:userset;mso-width-alt:11168;'/>
<col width="57" span="4" style='mso-width-source:userset;mso-width-alt:1824;'/>
<col width="245" style='mso-width-source:userset;mso-width-alt:7840;'/>
<col width="72" span="4" style='width:54.00pt;'/>
<tr height="32" style='height:24.00pt;mso-height-source:userset;mso-height-alt:480;'>
<td class="xl65" height="32" width="974" colspan="8" style='height:24.00pt;width:730.50pt;border-right:none;border-bottom:none;' x:str>衛生系統領導干部民主測評表</td>
<td width="72" style='width:54.00pt;'></td>
<td width="72" style='width:54.00pt;'></td>
<td width="72" style='width:54.00pt;'></td>
<td width="72" style='width:54.00pt;'></td>
</tr>
<tr height="36" style='height:27.00pt;mso-height-source:userset;mso-height-alt:540;'>
<td height="36" colspan="8" style='height:27.00pt;mso-ignore:colspan;' x:str>被測評人:<span style='mso-spacerun:yes;'> </span>年<span style='mso-spacerun:yes;'> </span>月<span style='mso-spacerun:yes;'> </span>日</td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="28" style='height:21.00pt;mso-height-source:userset;mso-height-alt:420;'>
<td class="xl66" height="28" style='height:21.00pt;' x:str>類別</td>
<td class="xl66" x:str>測評內容</td>
<td class="xl66" x:str>評價參考要點</td>
<td class="xl66" x:str>很滿意</td>
<td class="xl66" x:str>滿意</td>
<td class="xl66" x:str>一般</td>
<td class="xl66" x:str>不滿意</td>
<td class="xl66" x:str>原因</td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="44" style='height:33.00pt;mso-height-source:userset;mso-height-alt:660;'>
<td class="xl67" height="145.27" rowspan="3" style='height:108.95pt;border-right:.5pt solid windowtext;border-bottom:none;' x:str>德</td>
<td class="xl68" x:str>政治態度</td>
<td class="xl69" x:str>貫徹執行黨的路線方針政策和上級的決策部署,政治紀律嚴明,有較強的大局觀</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="57.27" style='height:42.95pt;mso-height-source:userset;mso-height-alt:859;'>
<td class="xl68" x:str>道德品質</td>
<td class="xl69" x:str>作風民主,自覺接受職工和群眾監督,團結同志,與單位職工關系協調,不搞“小圈子”,有較好的口碑和聲譽</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="44" style='height:33.00pt;mso-height-source:userset;mso-height-alt:660;'>
<td class="xl68" x:str>思想作風</td>
<td class="xl69" x:str>為人正派,堅持原則,秉公辦事,自覺維護單位集體利益和職工個人利益</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="61.27" style='height:45.95pt;mso-height-source:userset;mso-height-alt:919;'>
<td class="xl67" height="264.53" rowspan="5" style='height:198.40pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;' x:str>能</td>
<td class="xl71" x:str>能力水平</td>
<td class="xl69" x:str>具有較強的決策能力、執行能力和業務能力,責任意識強,以身作則,能起到帶頭示范作用,無重大工作失誤</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="60" style='height:45.00pt;mso-height-source:userset;mso-height-alt:900;'>
<td class="xl71" x:str>創新能力</td>
<td class="xl69" x:str>具有良好的開拓創新能力,工作思路清晰,工作有一定特色,敢于和善于解決復雜矛盾和突出問題</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="44" style='height:33.00pt;mso-height-source:userset;mso-height-alt:660;'>
<td class="xl71" x:str>組織協調</td>
<td class="xl69" x:str>具有較強的協調能力,能較好地協調內外各種關系,形成工作合力</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="41.27" style='height:30.95pt;mso-height-source:userset;mso-height-alt:619;'>
<td class="xl71" x:str>選人用人</td>
<td class="xl69" x:str>嚴格執行《干部任用條例》,知人善用,發現人才,培養干部,選人用人公開、公平、公正</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="58" style='height:43.50pt;mso-height-source:userset;mso-height-alt:870;'>
<td class="xl71" x:str>綜合管理</td>
<td class="xl69" x:str>有較強的事業心、責任感,內部管理規范,能有效應對各類復雜情況和復雜局面,有較強的處理突發事件能力,醫患關系和諧</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="44" style='height:33.00pt;mso-height-source:userset;mso-height-alt:660;'>
<td class="xl67" height="122" rowspan="3" style='height:91.50pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;' x:str>勤</td>
<td class="xl71" x:str>工作作風</td>
<td class="xl69" x:str>善于聽取不同意見,不斷改進工作作風,求真務實,作風樸實,工作扎實</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="39" style='height:29.25pt;mso-height-source:userset;mso-height-alt:585;'>
<td class="xl71" x:str>深入科室</td>
<td class="xl69" x:str>經常深入科室了解情況,熟悉單位實際,并能結合實際開展各項工作</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="39" style='height:29.25pt;mso-height-source:userset;mso-height-alt:585;'>
<td class="xl71" x:str>關心職工</td>
<td class="xl69" x:str>關心職工的思想、工作、生活,能為職工辦好事、辦實事</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="45.27" style='height:33.95pt;mso-height-source:userset;mso-height-alt:679;'>
<td class="xl67" height="301.53" rowspan="6" style='height:226.15pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;' x:str>績</td>
<td class="xl68" x:str>崗位職責</td>
<td class="xl69" x:str>注重領導班子建設,個人在集體中認真履行職責,發揮領導干部作用</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="45.27" style='height:33.95pt;mso-height-source:userset;mso-height-alt:679;'>
<td class="xl68" x:str>工作成效</td>
<td class="xl69" x:str>任職期間,工作成效顯著,單位醫德醫風顯著改善,工作效率明顯提高</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="44" style='height:33.00pt;mso-height-source:userset;mso-height-alt:660;'>
<td class="xl68" rowspan="4" style='border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;' x:str>重點工作</td>
<td class="xl69" x:str>嚴格實行國家基本藥物制度,落實藥品集中采購和零差率銷售制度</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="44" style='height:33.00pt;mso-height-source:userset;mso-height-alt:660;'>
<td class="xl69" x:str>嚴格按照規定開展“先住院后結算”服務模式,患者得到便利</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="64" style='height:48.00pt;mso-height-source:userset;mso-height-alt:960;'>
<td class="xl69" x:str>重視基本公共衛生服務工作,積極組織開展十四項基本公共衛生服務項目及各項重大公共衛生服務項目</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="59" style='height:44.25pt;mso-height-source:userset;mso-height-alt:885;'>
<td class="xl69" x:str>嚴格執行績效工資制度,績效工資實施后是否起到激勵機制,醫務人員收入較醫改實施前是否有所提高</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="64" style='height:48.00pt;mso-height-source:userset;mso-height-alt:960;'>
<td class="xl67" height="210.27" rowspan="4" style='height:157.70pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;' x:str>廉</td>
<td class="xl68" rowspan="4" style='border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;' x:str>廉潔自律</td>
<td class="xl69" x:str>遵守政治紀律和廉政規定,落實“八項規定”要求情況,有無收受“紅包”、“回扣”等損害患者利益現象,有無收受賄賂情況</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="45.27" style='height:33.95pt;mso-height-source:userset;mso-height-alt:679;'>
<td class="xl69" x:str>對照最新的價格收費文件規定執行醫療衛生服務和藥品價格收費政策</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="38" style='height:28.50pt;mso-height-source:userset;mso-height-alt:570;'>
<td class="xl69" x:str>落實價格收費公示制度和住院費一日清單制度,使價格收費更加合理、公平、透明</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="63" style='height:47.25pt;mso-height-source:userset;mso-height-alt:945;'>
<td class="xl69" x:str>單位財務賬目清晰,嚴格執行政務院務公開,重大事項審批、重大財務開支按規定進行公示,資金使用公開透明</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="21" style='height:15.75pt;mso-height-source:userset;mso-height-alt:315;'>
<td class="xl67" height="21" colspan="3" style='height:15.75pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;' x:str>總體評價</td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td class="xl68"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="89" style='height:66.75pt;mso-height-source:userset;mso-height-alt:1335;'>
<td class="xl72" height="89" style='height:66.75pt;' x:str>今后工作中的建議</td>
<td class="xl68" colspan="7" style='border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl73" height="19" style='height:14.25pt;'></td>
<td class="xl74" colspan="5" style='mso-ignore:colspan;' x:str>注:每一欄各選項中只能選擇一項,請在相應選項內劃“√”。如不滿意請寫明原因。</td>
<td class="xl73"></td>
<td class="xl73"></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl73" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl73" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<tr height="19" style='height:14.25pt;'>
<td class="xl75" height="19" colspan="8" style='height:14.25pt;mso-ignore:colspan;'></td>
<td colspan="4" style='mso-ignore:colspan;'></td>
</tr>
<![if supportMisalignedColumns]>
<tr width="0" style='display:none;'>
<td width="49" style='width:37;'></td>
<td width="103" style='width:77;'></td>
<td width="349" style='width:262;'></td>
<td width="57" style='width:43;'></td>
<td width="245" style='width:184;'></td>
</tr>
<![endif]>
</table>