內容簡介
Fragmention(片段鏈結)是由 Kevin Marks 提出的一種鏈接任何網頁中文本的方法。它使用雙井號語法附加到URL上,並在兩個井號後跟著文本,其中用加號替換空格。例如:
http://www.kevinmarks.com/fragmentions.html##I+suggest+using+a+double+hash
此方法消除了站點開發人員在其站點標記中硬編碼 ID 屬性的需求,並且讓用戶有一種完全靈活的方式確定他們想在頁面中引用的正確文本。
Github庫
外掛標籤
開發者團隊
原文外掛簡介
Fragmention is a method of linking to any text in a web page proposed by Kevin Marks. It uses a double hash syntax appended to a URL with the text following the two hash marks, using plus symbols to replace spaces. For example:
http://www.kevinmarks.com/fragmentions.html##I+suggest+using+a+double+hash
This removes the need for site developers to hard-code ID attributes into their site’s tags and gives users a completely flexible way to point to exactly the text they want to reference within a page.
Github repo
