diff --git a/assets/customize.js b/assets/customize.js index 11224216..8fe18c5a 100644 --- a/assets/customize.js +++ b/assets/customize.js @@ -75,7 +75,7 @@ document.addEventListener( // #endregion document.querySelectorAll('table').forEach((table) => { - tableMerge(table.rows) + if (table.hasAttribute('merge')) tableMerge(table.rows) }) function tableMerge(rows) { diff --git a/content/zh-cn/docs/srs/thailand/chettawut.md b/content/zh-cn/docs/srs/thailand/chettawut.md index cc75ff4e..055dc806 100644 --- a/content/zh-cn/docs/srs/thailand/chettawut.md +++ b/content/zh-cn/docs/srs/thailand/chettawut.md @@ -169,7 +169,7 @@ Chet 术后出现肉芽是非常常见的现象,通常会在术后复诊的时 - 在 SRS 后的第一年,每天做 3 次阴道扩张(早上 50 分钟-下午 50 分钟-睡前 50 分钟)。 - 所提供的模具有不同的直径(5 种尺寸),其中 0 号模具直径为 20 毫米,1 号模具直径为 23 毫米,2 号模具直径为 26 毫米,3 号模具直径为 29 毫米,最大的 4 号模具直径为 32 毫米。每个模具的长度约为 8.5 英寸。 -```csv +```csv {merge=false} 术后天数,共计天数,⓪,①,②,③,④ 7-9,3,50,,,, 10-12,3,40,10,,, diff --git a/content/zh-cn/docs/srs/us/america.md b/content/zh-cn/docs/srs/us/america.md index 88a1718f..64c6aad7 100644 --- a/content/zh-cn/docs/srs/us/america.md +++ b/content/zh-cn/docs/srs/us/america.md @@ -9,7 +9,7 @@ draft: true 部分诊所以 Soul Source 牌有中间弯曲的刚性塑料棒为标准器械,尺寸如下: -```csv +```csv {merge=false} 型号,长度,宽度 P1,20cm,0.79 inch P2,25.4cm,1.0 inch diff --git a/content/zh-hant/docs/srs/thailand/chettawut.md b/content/zh-hant/docs/srs/thailand/chettawut.md index c3b2f287..04e4180e 100644 --- a/content/zh-hant/docs/srs/thailand/chettawut.md +++ b/content/zh-hant/docs/srs/thailand/chettawut.md @@ -169,7 +169,7 @@ Chet 術後出現肉芽是非常常見的現象,通常會在術後複診的時 - 在 SRS 後的第一年,每天做 3 次陰道擴張(早上 50 分鐘-下午 50 分鐘-睡前 50 分鐘)。 - 所提供的模具有不同的直徑(5 種尺寸),其中 0 號模具直徑為 20 毫米,1 號模具直徑為 23 毫米,2 號模具直徑為 26 毫米,3 號模具直徑為 29 毫米,最大的 4 號模具直徑為 32 毫米。每個模具的長度約為 8.5 英寸。 -```csv +```csv {merge=false} 術後天數,共計天數,⓪,①,②,③,④ 7-9,3,50,,,, 10-12,3,40,10,,, diff --git a/layouts/_default/_markup/render-codeblock-csv.html b/layouts/_default/_markup/render-codeblock-csv.html index 982fb4af..8fa04d01 100644 --- a/layouts/_default/_markup/render-codeblock-csv.html +++ b/layouts/_default/_markup/render-codeblock-csv.html @@ -1,5 +1,6 @@ -{{ $rows := .Inner | transform.Unmarshal }} -
{{- . -}} | {{ end }}
---|