內容簡介
此外掛可以從引言 (<blockquote>) 中取得 cite="" 和 title="" 的詳細資訊,並顯示於引用下方的來源連結和提及。其中,cite 用來放置引用來源的網址,title 則用來放置作者姓名或來源名稱。
以下是一個引言的範例 (HTML 標記):
<blockquote cite="http://www.quotedb.com/quotes/2369" title="Mahatma Gandhi">
Live as if you were to die tomorrow. Learn as if you were to live forever.
</blockquote>
在瀏覽器中的顯示效果如下:
Live as if you were to die tomorrow. Learn as if you
were to live forever.
— Mahatma Gandhi
此外掛參考了 Dunstan Orchard 的 JavaScript 程式碼,您可以參考 Dunstan 的示範頁面 (Dunstan's Demo page) 以了解其運作方式。
外掛標籤
開發者團隊
原文外掛簡介
This plugin extracts cite="" and title="" details from blockquote to display with attribution and link below the quote. cite field is for the web address of source quoted from. title for the name of the author or source.
An example of a typical block quotation (html mark-up) in use would like the following:
Live as if you were to die tomorrow. Learn as if you were to live forever.
When viewed on the web, it would look like:
Live as if you were to die tomorrow. Learn as if you
were to live forever.
— Mahatma Gandhi
This plugin is based on a javascript code by Dunstan Orchard. You might want to see Dunstan’s Demo page on how it works.
