I need to identify images by its location. When they're inside a table, it's easier because I can attach a class to the table.
I'll refine it a bit more. I just watched a talk about responsive web design with some ideias I think will help me. BTW, is there a way to type HTML tags inside my Markmin doc? On Thu, Dec 13, 2012 at 2:47 PM, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > 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 >> <massimo....@gmail.com> 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? >> > >> > -- >> > >> > >> > > > -- > > > --