はてなを使ってみる

とりあえずソースコードが書きやすそうだったので、はてなを使ってみようかと思った。
まあそんな感じでテスト書き込み。

program hello;
begin
  WriteLn('Hello!');
end.
import re
a = 5 + 3
a += 2
if a >= 7:
    print 'hahaha!'
<html>
<head>
  {% block custom_header %}{% endblock %}
  <title>{% block title %}title{% endblock %}</title>
</head>
<body>
{% block content %}{% endblock %}
</body>
<?php
  echo 'hello world!';
  if (empty($_GET['param']) {
    $a = sprintf('null po%d', 12345);
  }
  echo $a;
?>
select * from test where id = 0;
delete from test;
require 'rubygems'
def abc
  print 'hello'
end
abc
  • Basic
10 PRINT "hello!"
20 GOTO 10
30 REM foooooooO!
<VirtualHost:80>
    ServerName hogehoge.org
    DocumentRoot ~/
</VirtualHost>

なるほど使えそうだ。