Fragensteller
Community Forums NNTP bridge: text <=> html

Allgemeine Diskussion
-
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg blank line (p tag) ->|
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg line break ->| abcdefg abcdefg abcdefg |
dim a as string = "abc" if a = "xyz" then a = "2 spaces ->| |<--" end if a = b + "3 spaces ->| |<--" a = b + "4 spaces ->| |<--" string x = "xxxxxxx" & _ "xxxxxxx" & _ "^^^^^^^ block" debug.print a
xxxxxxxxxxxxxxxxxxxxx
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg blank line (p tag) ->|
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg line break ->|
abcdefg abcdefg abcdefg |abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg line break ->| abcdefg abcdefg abcdefg |
#include <windows.h> int main() { printf("Hello world"); }
xxxxxxxxxxxxxxxxxxxxx
dim a as string = "abc"
abc
abc
abc abc
abc
abc abcdim a as string _ = "*abc*" 'This should not lead to bold! if a = "xyz" then a = "2 _*spaces*_ " 'This should not lead to underline! end if
abc abc abc
abc abc abc
abc abc abcabc def ghi abc def ghi abc def ghi
abc def ghi abc def ghi xxx abc def ghi xxx
abc def ghi abc def ghi abc def ghi xxx xxx
abc def ghi abc def ghi xxx abc def ghi xxx
nnn abc def ghi abc def ghi abc def ghi xxx xxx nnn
abcdefg uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu
uuu uuu uuu uuu uuu uuu uuu uuu uuu abcdefgabcdefg kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk abcdefg
abcdefg bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb abcdefg
abcdefg uuu uuu uuu uuu bubu bubu bubu bubu bubu uuu nnnn
abcdefg uuu uuu uuu uuu bubu bubu bubu bubu bubu uuu nnnn
abcdefg uuu uuu uuu uuu bubu bubu bubu bubu bubu
uuuabcdefg bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb
Text - der ab hier fett dargestellt wird, nun noch unterstrichen ist und jetzt noch kursiv wird und am Ende wieder ohne Formatierung
ist.URL: http://communitybridge.codeplex.com/
http://communitybridge.codeplex.com/
http://communitybridge.codeplex.com/Image:
CODE-Tags
private sub test() dim x as String = "abc" dim z as int = 5 ... if z > 5 then ' comment '<-- 6 spaces end if end sub
Syntax der code tags:
[vbnet] private sub test() dim x as String = "abc" dim z as int = 5 ... if z > 5 then ' comment '<-- 6 spaces end if end sub [/vbnet]
list items:
* Item 1
* Item 2
* Item 3
* Item 4
=> fehlt noch: convert to <ul><li>...<li>....</ul>
.... die Frage ist, ob man so etwas sicher erkennen kann und nicht
irrtümlich etwas umwandelt, das gar keine Liste sein soll.
Alternative: [*] als Kennung verwenden.mfg
Josef
line1
line2
line3new paragraph
- Typ geändert Josef Pötzl Samstag, 13. November 2010 08:39
Sonntag, 6. Juni 2010 15:49
Alle Antworten
-
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg
abcdefg_abcdefg_ abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg
abcdefg blank line (p tag) ->|
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg
abcdefg line break ->| abcdefg abcdefg abcdefg | [vbnet]
dim a as string = "abc"
if a = "xyz" then
a = "2 spaces ->| |<--"
end if
a = b + "3 spaces ->| |<--"
a = b + "4 spaces ->| |<--"
string x = "xxxxxxx" & _
"xxxxxxx" & _
"^^^^^^^ block"
debug.print a
[/vbnet]Antwort-Test
Rainald
Dienstag, 8. Juni 2010 15:23 -
some tests with plaintext converter ...
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg blank line (p tag) ->|
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg line break ->| abcdefg abcdefg abcdefg |
dim a as string = "abc" if a = "xyz" then a = "2 spaces ->| |<--" end if a = b + "3 spaces ->| |<--" a = b + "4 spaces ->| |<--" string x = "xxxxxxx" & _ "xxxxxxx" & _ "^^^^^^^ block" debug.print a
xxxxxxxxxxxxxxxxxxxxx
xxxxxxx wrote:
abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg blank line (p tag) ->|
zzzzzzzzzzz wrote:abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg line break ->|
abcdefg abcdefg abcdefg |abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg line break ->| abcdefg abcdefg abcdefg |
#include <windows.h> int main() { printf("Hello world"); }
xxxxxxxxxxxxxxxxxxxxx
dim a as string = "abc"
abc
abc
abc abc
abc
abc abcdim a as string _ = "*abc*" 'This should not lead to bold! if a = "xyz" then a = "2 _*spaces*_ " 'This should not lead to underline! end if
abc abc abc
abc abc abc
abc abc abcabc def ghi abc def ghi abc def ghi
abc def ghi abc def ghi xxx abc def ghi xxx
abc def ghi abc def ghi abc def ghi xxx xxx
abc def ghi abc def ghi xxx abc def ghi xxx
nnn abc def ghi abc def ghi abc def ghi xxx xxx nnn
abcdefg uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu uuu abcdefg
abcdefg kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk kkk abcdefg
abcdefg bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb abcdefg
abcdefg uuu uuu uuu uuu bubu bubu bubu bubu bubu uuu nnnn
abcdefg uuu uuu uuu uuu bubu bubu bubu bubu bubu uuu nnnn
abcdefg uuu uuu uuu uuu bubu bubu bubu bubu bubu
uuuabcdefg bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb
Text - der ab hier fett dargestellt wird, nun noch unterstrichen ist und jetzt noch kursiv wird und am Ende wieder ohne Formatierung ist.URL: http://communitybridge.codeplex.com/
http://communitybridge.codeplex.com/
http://communitybridge.codeplex.com/Image:
CODE-Tags
private sub test() dim x as String = "abc" dim z as int = 5 ... if z > 5 then ' comment '<-- 6 spaces end if end sub
Syntax der code tags:
[vbnet] private sub test() dim x as String = "abc" dim z as int = 5 ... if z > 5 then ' comment '<-- 6 spaces end if end sub [/vbnet]
list items:
* Item 1
* Item 2
* Item 3
* Item 4
=> missing: convert to <ul><li>...<li>....</ul>create list items with newsreader an userdefined tags:
- Item 1
- Item 2
- Item 3
- Item 3
Syntax:
[ul][li]Item 1[/li] [li]Item 2[/li] [li]Item 3[/li] [li]Item 3[/li][/ul]
line1
line2
line3new paragraph
Samstag, 12. Juni 2010 19:49