瀏覽代碼

Make changelog toggle-able in v0.22 post

Kevin van Zonneveld 7 年之前
父節點
當前提交
694f8e9a20
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      website/src/_posts/2017-12-0.22.md

+ 4 - 0
website/src/_posts/2017-12-0.22.md

@@ -126,6 +126,9 @@ Thanks to this approach a number of hidden bugs have already been identified and
 
 ## Full Changelog
 
+<a id="changelog-toggle" href="javascript:document.getElementById('changelog').style.display = 'block'; document.getElementById('changelog-toggle').style.display = 'none'; false;">&raquo; show</a>
+
+<div id="changelog" style="display: none;" markdown="1">
 Here is the full list of changes for version `0.22.0` (and patch `0.21.1`):
 
 - **⚠️ Breaking** core: rendering engine switched from `Yo-Yo` to `Preact`, and all views from `html` hyperx template strings to `JSX` (#451 / @arturi)
@@ -160,6 +163,7 @@ Here is the full list of changes for version `0.22.0` (and patch `0.21.1`):
 - transloadit: Port old tests from tape (#428 / @goto-bus-stop)
 - tus: Restore correctly from paused state (#443 / @goto-bus-stop)
 - uppy-server: use typescript to compile code for a type safe servers (@ifedapoolarewaju)
+</div>
 
 The Uppy Team