프로젝트
GitHub에서 보기
benweet/stackedit.js
benweet/stackedit.js has 1,164 GitHub stars and 127 forks. GitHot measured 0 stars in 24 hours, -1 in 7 days, and -1 in 15 days. Last checked 2026-11-23 11:45 UTC. Last push 2020-10-01.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
어떤 웹사이트에든 StackEdit을 추가하세요.
개발 도구README.md
Originalstackedit.js
Add StackEdit to any website
Build setup
# install dependencies
npm install
# watch and build for dev
npm run dev
# build for production
npm run build
Quick start
Bind StackEdit to a textarea:
// Import the lib.
import Stackedit from 'stackedit-js';
// Get the textarea.
const el = document.querySelector('textarea');
// Create the Stackedit object.
const stackedit = new Stackedit();
// Open the iframe
stackedit.openFile({
name: 'Filename', // with a filename
content: {
text: el.value // and the Markdown content.
}
});
// Listen to StackEdit events and apply the changes to the textarea.
stackedit.on('fileChange', (file) => {
el.value = file.content.text;
});
Documentation
Full documentation can be found at https://benweet.github.io/stackedit.js/.
관련 프로젝트 살펴보기
불러오는 중…