Stack Overflowは、あなたが入力しているものをどのようにミラーリングしますか?
質問
現在、これを入力している間、エディターの下にプレビューがあります。似たようなことをしたいです。 Stack Overflowはこれをどのように行いますか?
解決
彼らは呼ばれるHTMLエディターを使用します WMDマークダウンエディター。
他のヒント
$(function(){
// whenever the text in the editor box changes:
$("#editorTextArea").change(function(){
// add the text to the preview box below
// this certainly involves some formatting/marking up of the text
// but this is good enough for illustrative purposes
$("#previewBox").val(this.value);
});
});
所属していません StackOverflow