Difference between revisions of "Talk:Complete Roguelike Tutorial, using python+libtcod"

From RogueBasin
Jump to navigation Jump to search
(comment)
Line 7: Line 7:


My consern is the dotted borders around code. Why is the regular wiki style not enough? Especially the one-line snippets really attack the eyes. I now styling is kind of a matter of preference, but there are many reasons why standards (or de-facto standards) are used (I know, citation needed, and one can argue that the regular wiki style is bad, but it does suite millions of people after all, e.g. through Wikipedia...) [[User:Aave|Aave]]
My consern is the dotted borders around code. Why is the regular wiki style not enough? Especially the one-line snippets really attack the eyes. I now styling is kind of a matter of preference, but there are many reasons why standards (or de-facto standards) are used (I know, citation needed, and one can argue that the regular wiki style is bad, but it does suite millions of people after all, e.g. through Wikipedia...) [[User:Aave|Aave]]
: Hey folks: can I suggest the following?
<syntaxhighlight lang="python">
# Hello, world!
print "Hello, world!"
print (a + b) * 5
</syntaxhighlight>
: I think the code examples look substantially better without the heavily dotted borders and dark-grey background. If you want borders and a background, you could just use <code><nowiki><div style="border: dotted 1px rgb(128,128,128); background-color: rgb(240,240,240);">...</div></nowiki></code> or something like that:
<div style="border: dotted 1px rgb(128,128,128); background-color: rgb(240,240,240);"><syntaxhighlight lang="python">
# Hello, world!
print "Hello, world!"
print (a + b) * 5
</syntaxhighlight></div>
: My two cents, —[[User:Thomas Larsen|Thomas Larsen]] 02:45, 6 June 2010 (UTC)

Revision as of 02:45, 6 June 2010

Currently, the semi-official discussion for this tutorial is available in the libtcod forum, at:

http://doryen.eptalys.net/forum/index.php?topic=328.0

Jotaf 16:47, 7 December 2009 (UTC)


My consern is the dotted borders around code. Why is the regular wiki style not enough? Especially the one-line snippets really attack the eyes. I now styling is kind of a matter of preference, but there are many reasons why standards (or de-facto standards) are used (I know, citation needed, and one can argue that the regular wiki style is bad, but it does suite millions of people after all, e.g. through Wikipedia...) Aave

Hey folks: can I suggest the following?
# Hello, world!
print "Hello, world!"
print (a + b) * 5
I think the code examples look substantially better without the heavily dotted borders and dark-grey background. If you want borders and a background, you could just use <div style="border: dotted 1px rgb(128,128,128); background-color: rgb(240,240,240);">...</div> or something like that:
# Hello, world!
print "Hello, world!"
print (a + b) * 5
My two cents, —Thomas Larsen 02:45, 6 June 2010 (UTC)