尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
The markdown-model package is a JavaScript Markdown parser and renderer.
• API Documentation
• Source code
To parse a Markdown document, use the
parseMarkdown
function:
~~~ javascript
import {parseMarkdown} from 'markdown-model/lib/parser.js';
const markdownModel = parseMarkdown(markdownText);
~~~
Note: Markdown documents are parsed as
GitHub Flavored Markdown
(with the exception of HTML blocks).
To render the parsed Markdown in a web browser, use the
markdownElements
function with the
renderElements
function from the
element-model
package:檢視完整 README ↗The markdown-model package is a JavaScript Markdown parser and renderer.
To parse a Markdown document, use the parseMarkdown function:
import {parseMarkdown} from 'markdown-model/lib/parser.js';
const markdownModel = parseMarkdown(markdownText);
Note: Markdown documents are parsed as GitHub Flavored Markdown (with the exception of HTML blocks).
To render the parsed Markdown in a web browser, use the markdownElements function with the renderElements function from the element-model package:
import {markdownElements} from 'markdown-model/lib/elements.js';
import {renderElements} from 'element-model/lib/elementModel.js';
renderElements(document.body, markdownElements(markdownModel));
To compute the title of the parsed Markdown, use the getMarkdownTitle function:
import {getMarkdownTitle} from 'markdown-model/lib/parser.js';
const markdownTitle = getMarkdownTitle(markdownModel);
This package is developed using javascript-build. It was started using javascript-template as follows:
template-specialize javascript-template/template/ markdown-model/ -k package markdown-model -k name 'Craig A. Hobbs' -k email '[email protected]' -k github 'craigahobbs' -k noapp 1