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.01 00.01 config end
2: 00.21 00.20 MarkupToHTML begin
3: 00.21 00.20 MarkupToHTML begin
4: 00.21 00.21 MarkupToHTML end
5: 00.21 00.21 MarkupToHTML end
6: 00.22 00.21 MarkupToHTML begin
7: 00.22 00.22 MarkupToHTML end
8: 00.22 00.22 now
Peak memory: 3,025,232 bytes