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 EnablePost = 1, keys=
 1: 00.00 00.00 config start
 2: 00.01 00.01 config end
 3: 00.03 00.03 MarkupToHTML begin
 4: 00.03 00.03 MarkupToHTML begin
 5: 00.04 00.03 MarkupToHTML end
 6: 00.04 00.04 MarkupToHTML end
 7: 00.04 00.04 MarkupToHTML begin
 8: 00.05 00.04 MarkupToHTML end
 9: 00.05 00.04 now
Peak memory: 3,182,712 bytes