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.22 00.20 MarkupToHTML begin
4: 00.22 00.20 MarkupToHTML end
5: 00.23 00.20 MarkupToHTML end
6: 00.23 00.21 MarkupToHTML begin
7: 00.23 00.21 MarkupToHTML end
8: 00.23 00.21 now
Peak memory: 2,986,320 bytes