| 1 |
== Example of MyPoint Markup == |
|---|
| 2 |
{{author:ian reinhart geiser}} |
|---|
| 3 |
|
|---|
| 4 |
{{date:3/18/2008}} |
|---|
| 5 |
|
|---|
| 6 |
{{footer:Copyright 2008}} |
|---|
| 7 |
|
|---|
| 8 |
{{template:special.tmpl}} |
|---|
| 9 |
|
|---|
| 10 |
---- |
|---|
| 11 |
== Text == |
|---|
| 12 |
* Level 1 point |
|---|
| 13 |
* Level 2 point |
|---|
| 14 |
* Another level 2 point |
|---|
| 15 |
* Text formatting |
|---|
| 16 |
* '''bold text''' is supported |
|---|
| 17 |
* along with ''italics text'' is supported |
|---|
| 18 |
* and __underlined text__ is supported |
|---|
| 19 |
* and ~~struck out~~ text too. |
|---|
| 20 |
* and '''''bold & italics''''' text can be mixed. |
|---|
| 21 |
* and ^^super^^ text and ,,sub,, text can happen too. |
|---|
| 22 |
{{footer:Custom footnote per page.}} |
|---|
| 23 |
---- |
|---|
| 24 |
== More points == |
|---|
| 25 |
* Points |
|---|
| 26 |
* can |
|---|
| 27 |
* go |
|---|
| 28 |
* up |
|---|
| 29 |
* to |
|---|
| 30 |
* five |
|---|
| 31 |
* levels |
|---|
| 32 |
* deep. |
|---|
| 33 |
---- |
|---|
| 34 |
== Images == |
|---|
| 35 |
[[Image(blah2.png)]] |
|---|
| 36 |
---- |
|---|
| 37 |
== Images and Text == |
|---|
| 38 |
* You can share images and text. |
|---|
| 39 |
* Images always on the left. |
|---|
| 40 |
* Lines will automatically scale to fit. |
|---|
| 41 |
* Points can also break[[BR]]across two or more[[BR]]lines. |
|---|
| 42 |
[[Image(blah.png)]] |
|---|
| 43 |
---- |
|---|
| 44 |
== Custom backgrounds == |
|---|
| 45 |
* You can have per page backgrounds. |
|---|
| 46 |
{{background:base2.png}} |
|---|
| 47 |
---- |
|---|
| 48 |
== Text and Preformatted Text == |
|---|
| 49 |
* You can talk about code. |
|---|
| 50 |
* Add a few points about it. |
|---|
| 51 |
{{{ |
|---|
| 52 |
1: int main(int argc, char *argv[]) |
|---|
| 53 |
2: { |
|---|
| 54 |
3: QApplication app(argc, argv); |
|---|
| 55 |
4: |
|---|
| 56 |
5: QFileInfo presentationFile(argv[1]); |
|---|
| 57 |
6: QFile file(presentationFile.absoluteFilePath()); |
|---|
| 58 |
7: if( !file.open(QIODevice::ReadOnly )) |
|---|
| 59 |
8: return 1; |
|---|
| 60 |
9: QByteArray buffer = file.readAll(); |
|---|
| 61 |
10: SimpleParser parser; |
|---|
| 62 |
11: parser.setBasePath( presentationFile.absolutePath() ); |
|---|
| 63 |
12: Presentation *pres = parser.parseDocument( |
|---|
| 64 |
13: QString::fromUtf8(buffer.constData()) ); |
|---|
| 65 |
14: PDFSlideReporter reporter; |
|---|
| 66 |
15: reporter.generateReport( pres, argv[2] ); |
|---|
| 67 |
16: return 0; |
|---|
| 68 |
17: |
|---|
| 69 |
18: } |
|---|
| 70 |
}}} |
|---|
| 71 |
|
|---|