Last active
November 30, 2018 11:59
-
-
Save nanananamememe/4e887083d3e034faa1f9d86287ee3953 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta http-equiv="content-language" content="ja"> | |
<!-- 各自の環境に合わせて調整してね meta http-equiv="Content-Type" content="text/html; charset=UTF-8" --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> | |
<script> | |
$(function(){ | |
$('#error_text').on('change, keyup', function(){ | |
$('#error_view').html($('#error_text').val()); | |
}); | |
}); | |
</script> | |
<title>HTML出力</title> | |
</head> | |
<body> | |
<div> | |
<textarea id='error_text' style="width:100%; height:500px;" placeholder="ここにHTMLを貼り付ける"></textarea> | |
</div> | |
<div id='error_view'></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment