would it be possible to have css ID as well as class in markmin?
: for class
:: for id?
so in a table
-
**A** | **B** | **C**
0 | 0 | X
0 | X | 0
X | 0 | 0
-:abc::idfortable
Here is a patch. I hope it OK. I tested it on some of my image links and
it seemed to be OK, but I do not know how to run tests.
Thanks, David
On Thursday, June 14, 2012 1:58:01 AM UTC+1, Massimo Di Pierro wrote:
ok. send me a patch.
On Wednesday, 13 June 2012 19:38:05 UTC-5, villas
Hi Massimo,
regex_auto_image = re.compile(r
'(?![\w/=])(?Pk\w+://\S+\.(jpeg|jpg|gif|png)(\?\S+)?)',re.M)
I believe that automatic recognition of files only works with lower case.
Do you think it should be case-insensitive?
e.g. .jpg .JPG .Jpg
Thanks,
David
Please open a ticket and link this thread/patch. Will look at it asap.
On Thursday, 14 June 2012 10:31:12 UTC-5, villas wrote:
Hi Massimo,
regex_auto_image = re.compile(r
'(?![\w/=])(?Pk\w+://\S+\.(jpeg|jpg|gif|png)(\?\S+)?)',re.M)
I believe that automatic recognition of files only works
Issue 854 http://code.google.com/p/web2py/issues/detail?id=854
Thanks.
Hi Massimo,
I notice in markmin that an image is centered using P tags like this:
p align=centerimg.. /p
The problem is that HTML attributes are over-ruled by CSS. Therefore this
'align' attribute is usually ignored.
I am wondering therefore whether we could do something like this
ok. send me a patch.
On Wednesday, 13 June 2012 19:38:05 UTC-5, villas wrote:
Hi Massimo,
I notice in markmin that an image is centered using P tags like this:
p align=centerimg.. /p
The problem is that HTML attributes are over-ruled by CSS. Therefore this
'align' attribute is
Hi Massimo
I love to see improvements to Markmin, it's great.
One thing that I do is substituting my own special 'tags' in my Markmin
text with info from my 'Snippets' table which contains standard paragraphs.
For example...
My special tag in Markmin text is: {id} Or, more flexibly:
I think this is groovy (i.e. one notch up from cool)
However, there's one thing: if @{hello} returns the output of the variable,
shouldn't @{a/b/c} return the output of the call to the url?
On Friday, April 6, 2012 12:08:57 AM UTC-3, Massimo Di Pierro wrote:
Consider this text
text =
Let me think about his.
On Friday, 6 April 2012 06:43:47 UTC-5, villas wrote:
Hi Massimo
I love to see improvements to Markmin, it's great.
One thing that I do is substituting my own special 'tags' in my Markmin
text with info from my 'Snippets' table which contains standard paragraphs.
On Friday, 6 April 2012 08:30:03 UTC-5, Alan Etkin wrote:
I think this is groovy (i.e. one notch up from cool)
However, there's one thing: if @{hello} returns the output of the
variable, shouldn't @{a/b/c} return the output of the call to the url?
Isn't that what it does?
On Friday,
I should have tested it before posting. My guess was that it will return a
link to an absolute URL. What I meant was that I expected the actual data
returned by the controller function call (normally a dict), although I
don't know how this should be rendered when processed by markmin.
Perhaps
@{controller/function/a/r/g/s.extension} (converts to the corresponding
full URL http:///app/controller/function/a/r/g/s.extension)
The example as is didn't work for me: this instead did:
@{appname/controller/function.extension}
And as I posted elsewhere makes a link. Now for me this could
I will double check. You should be able to do
embed:@{}
which uses iframe.
perhaps we should also have a
ajax:@{...}
This requires some more thought. What features would you like to see?
On Friday, 6 April 2012 10:34:17 UTC-5, Alan Etkin wrote:
I like ajax:@... more than the iframe solution. iframe has not so good
publicity AFAIK among some users. For example here:
http://stackoverflow.com/questions/755795/are-iframes-html-obsolete . I am
not saying that I would not use iframe, just that there are users against
it.
For suggesting
The problem is that everything supported so far makes markmin
self-sufficient. ajax:@{...} would require web2py.js
On Friday, 6 April 2012 11:31:47 UTC-5, Alan Etkin wrote:
I like ajax:@... more than the iframe solution. iframe has not so good
publicity AFAIK among some users. For example
16 matches
Mail list logo