8
0

codeblock.html 1.2 KB

1234567891011121314151617181920212223
  1. <div id="editor">
  2. <pre><code class="plaintext">Plain text</code></pre>
  3. <p>Getting used to an entirely different culture can be challenging. While it’s also nice to learn about cultures online or from books, nothing comes close to experiencing cultural diversity in person.</p>
  4. <p>You learn to appreciate each and every single one of the differences while you become more culturally fluid.</p>
  5. <pre><code class="javascript">function foo() {
  6. console.log( 'indented using 1 tab' );
  7. }
  8. function bar() {
  9. console.log( 'indented using spaces' );
  10. }</code></pre>
  11. <p>Getting used to an entirely different culture can be challenging. While it’s also nice to learn about cultures online or from books, nothing comes close to experiencing cultural diversity in person. You learn to appreciate each and every single one of the differences while you become more culturally fluid.</p>
  12. <pre><code class="css">body { color: red }</code></pre>
  13. <pre><code class="css">p { font-size: 10px; }</code></pre>
  14. <p>Some ASCII art:</p>
  15. <pre><code> ________________
  16. / \
  17. | How about moo? | ^__^
  18. \________________/ (oo)\_______
  19. \ (__)\ )\/\
  20. ||----w |
  21. || ||</code></pre>
  22. </div>