I agree with that and think it is a good idea. You can make the CSS device dependent but that is outside the markup language scope. Perhaps I am missing something.
On Thursday, 13 December 2012 08:51:35 UTC-6, viniciusban wrote: > > Yes, you're right, Massimo. > > So, let's try to solve this kind of situation I'm facing right now: > I have a page with images that must be seen among different devices > (pc, tablet and smartphone). I can fix image length inside its tag (in > markmin), but its size will vary, proportionally, according to the > device. > > So, I thought about using CSS to present the image with size depending > on the device. > > Any ideias to solve this problem with another approach? > > Help wanted. > > BTW, Markmin allow tables to have the class attribute and it's useful, > indeed. Mainly for Markmin power users editing content in a wiki app. > > > > > On Thu, Dec 13, 2012 at 12:38 PM, Massimo Di Pierro > <[email protected] <javascript:>> wrote: > > I do not doubt this would be useful but do we want to transform the wiki > > syntax in a markup language? I think of the purpose of the wiki syntax > is > > make sure the user has no freedom in messing up style info. If the user > can > > set the class of tags they can break the page presentation. > > > > > > On Thursday, 13 December 2012 07:23:59 UTC-6, viniciusban wrote: > >> > >> According to plugin_wiki documentation, I can personalize classes just > >> in <table> and <code>. > >> > >> How about allowing images and link classes, too? Maybe lists, too. > >> I thought in something like attributes in web2py helpers: > >> DIV(_class="myclass"). > >> > >> In images, it would be: [[myimage attachment:3.png center 200px > >> _class="myclass"]] > >> > >> How about that? > > > > -- > > > > > > > --

