From b567451c4977242224ce201dab31346dd5741a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Morillon?= Date: Tue, 11 Jul 2017 18:10:57 +0200 Subject: [PATCH] Update doc --- .gitignore | 3 ++- DashParser.g4 | 1 + doc.dh | 19 ++++++++++--------- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index f876071..d775892 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ java/ -.vscode/ \ No newline at end of file +.vscode/ +.antlr/ \ No newline at end of file diff --git a/DashParser.g4 b/DashParser.g4 index 6251cdd..e019936 100644 --- a/DashParser.g4 +++ b/DashParser.g4 @@ -4,6 +4,7 @@ options { tokenVocab=DashLexer; } /* TO-DO - Target conditions +- Alternative text - Back to line mode - Media inline - Unit tests diff --git a/doc.dh b/doc.dh index 81ec433..8b6fb79 100644 --- a/doc.dh +++ b/doc.dh @@ -6,6 +6,7 @@ - Sections - Influençant les titres - Definition {*[word]:[definition]} +- Target condition - Other standard blocks - Multiple paragraph lists - Rewrite code snippets and examples @@ -214,7 +215,7 @@ In fact, titles are blocks. Because there are very common, they have there own s The language handle the four most famous emphasis : - You can use *[bold] with { *[ ... ] }. -- You can /[italic] some sentences or with { /[ ... ] }. +- You can /[italic] some sentences or words with { /[ ... ] }. - You can =[mark] personally important text with { =[ ... ] }. - You can ~[obselete] not anymore used sentences with { ~[ ... ] }. @@ -375,25 +376,25 @@ You can also combine both of them to display the textual and graphic form at the <--> Images -< .jpg > { images/cat } -< .png > { https://avatars0.githubusercontent.com/u/7021265 } +< .jpg > { http://www.gstatic.com/webp/gallery/1.jpg } +< .png > { https://www.gstatic.com/webp/gallery3/1.png } << .dash- >> -< .jpg > { images/cat } -< .png > { https://avatars0.githubusercontent.com/u/7021265 } +< .jpg > { http://www.gstatic.com/webp/gallery/1.jpg } +< .png > { https://www.gstatic.com/webp/gallery3/1.png } <...> <--> Videos -< .mp4 > { videos/cat } -< .youtube.com > { LJttZ_Zfiw0 } +< .mp4 > { http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4 } +< .youtube.com > { hqW4qLcRD3w } << .dash- >> -< .mp4 > { videos/cat } -< .youtube.com > { LJttZ_Zfiw0 } +< .mp4 > { http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4 } +< .youtube.com > { hqW4qLcRD3w } <...>