สำหรับผู้ที่ใช้ WordPress เป็น CMS จัดการเนื้อหาเว็บไซต์ ถ้าเราต้องการนำ Jupyter Notebook ที่เรา Push ไว้อยู่บน GitHub แบบ Public มา Embed ใส่ใน Post สามารถทำได้ดังนี้

1. Install Plugin WP Pusher

2. Install Plugin nbconvert

ทั้งสอง Plugin ไม่มีใน WordPress Plugin Store เราสามารถ Download ZIP file มาอัพโหลด Install ได้เองจากหน้า wp-admin

3. เมื่อ Install Plugin ทั้งสองเรียบร้อยแล้ว ให้ลองสร้าง Post ใหม่ แล้วใส่ shortcode รูปแบบดังนี้

4. WordPress จะไปดึง Notebook จาก URL ของ GitHub มาแสดง embed ไว้ดังด้านล่าง

Open In Colab

แชร์ให้เพื่อน:

Surapong Kanoktipsatharporn on FacebookSurapong Kanoktipsatharporn on LinkedinSurapong Kanoktipsatharporn on Rss
Surapong Kanoktipsatharporn
Solutions Architect at Bua Labs
The ultimate test of your knowledge is your capacity to convey it to another.

Published by Surapong Kanoktipsatharporn

The ultimate test of your knowledge is your capacity to convey it to another.