This page illustrates how you can get a page that only contains the text, i.e. no headers/footers/sidebar and whatnot.

(:title  :)
(:noleft:)
(:noheader:)
(:nofooter:)
(:nogroupheader:)
(:nogroupfooter:)

However, how can I get rid of edit etc at the top of the page???

0: 00.00 00.00 config start
1: 00.02 00.01 config end
2: 00.04 00.03 MarkupToHTML begin
3: 00.04 00.03 MarkupToHTML begin
4: 00.04 00.04 MarkupToHTML end
5: 00.04 00.04 MarkupToHTML end
6: 00.05 00.04 MarkupToHTML begin
7: 00.06 00.05 MarkupToHTML end
8: 00.06 00.05 now
Peak memory: 3,078,216 bytes