HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: vtaiwan --- # vTaiwan Luma 活動頁設定教學 最後更新時間:2025/04/23 目前vTaiwan 是使用Ghost作為部落格使用 未來如果要直接用在vTaiwan新官網是可以直接把code貼在網站上的 # 如何在Blog文章中嵌入活動 ### 1.嵌入程式碼在哪? 在你發布的活動中,點擊「更多」 ![](https://g0v.hackmd.io/_uploads/H1KIjuIygl.png) 在「更多」頁面,找到嵌入活動頁,點選後複製下面的程式碼 ![](https://g0v.hackmd.io/_uploads/By1oidUkex.png) ### 2. 貼上程式碼 如果不要求自適應,在編輯文章的時候,點選+ 找到HTML Block之後,將下方的程式碼貼入Block中 ![](https://g0v.hackmd.io/_uploads/HJl4a6dIyeg.png) 這樣就完成了! 記得要publish出去,才看得到 Draft模式下只會顯示「embeded iFrame」 --- ### 3. 自適應的調整 但為了讓嵌入漂亮一點,我有做一些調整 我在Ghost的 Code Injection裡面貼上了這段CSS 這樣未來的人也不需要自己調整CSS 基本上不用理會這一段 ``` css <style> /*這是調整lu.ma的 css injection*/ .luma-event { width: 100%; max-width: 100%; margin: 0 auto; display: flex; justify-content: center; } .luma-event iframe { width: 800px; height: 380px; border: 1px solid #bfcbda88; border-radius: 4px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); } @media (max-width: 850px) { .luma-event iframe { width: 100%; min-height: 700px; } } </style> ``` ### 4. 修改iFrame 把剛剛複製到的iFrame程式碼中的src,複製到下方的src中 ![](https://g0v.hackmd.io/_uploads/HJhvgF8yex.png) ``` html <div class="luma-event"> <iframe src="https://lu.ma/embed/event/test/simple" frameborder="0" allowfullscreen="" aria-hidden="false" tabindex="0" ></iframe> </div> ``` ### 5.貼上程式碼 再將修改好的程式碼貼入HTML Block 就可以看到活動頁面嵌在文章中了! ![](https://g0v.hackmd.io/_uploads/Skg0jgFIygg.png)

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.