add modeline & fix #11 add anchor only if needed

Signed-off-by: Andrwe Lord Weber <github@andrwe.org>