
內容簡介
這個外掛讓您可以輕鬆地使用官方的asciinema-player。
使用方法
asciicast 是使用 asciinema 錄製的影片。將您的 asciicast 上傳
到網站伺服器上,您可以在 WordPress 的「多媒體 > 新增」選單中進行上傳。
進入 HTML 編輯器,您可以撰寫文章或頁面。接著加入下列的 HTML tag:<asciinema-player src="/demo.json"></asciinema-player>。
請記得將 src 屬性的值替換成您的 asciicast 的位置。
您可以使用 asciinema-player 的所有選項。請參考
其 readme
以了解詳細的選項。
外掛標籤
開發者團隊
原文外掛簡介
This plugin lets you easily use the official asciinema-player.
Usage
An asciicast is a recording made with asciinema. Upload your asciicast
anywhere in your web server; you can do that within
Wordpress (just go to the “Media>Add New” menu and upload your asciicast).
Enter the HTML editor to write a post or a page. Then add the
following HTML tag:
Remember to replace the value of the src attribute with the location of
your asciicast.
You can use every option of asciinema-player. Check out
its readme
to find out every option.
