[pmwiki-users] quoted text markup

Dominique Faure dominique.faure at gmail.com
Wed Sep 21 01:07:41 CDT 2016


IMHO and after a look at
http://www.pmwiki.org/wiki/PmWiki/MarkupMasterIndex, I would suggest
to keep on using the prefix/suffix pattern that emerges in the
"Character format" section, and chosse one of:

'"quoted text"'
{"quoted text"}
["quoted text"']

Regards,
Dominique


On Tue, Sep 20, 2016 at 9:07 PM, Hans <design1 at softflow.uk> wrote:
>> I think I'd prefer this as a recipe (or an addition to an existing
>> recipe) rather than core for now.
>
> of course that is always an option.
>
>> I'm concerned a change to core might match code display segments
>> where a single "" represents an empty string.
>
> would code segments not be written inside [@   @] markup, i.e.
> as escaped code?
>
> My markup suggestion could be tightened a bit disallowing spaces after
> "" start and before "" end. That would make it less likely to catch
> single instances of  ""
>
> something like this:
>
> Markup("\"\"","inline","/\"\"(\\S.*?\\S)\"\"/",'<q>$1</q>');
>
>> I also don't know how widely this feature would be used; I suspect
>> most people will still end up writing "This is a quote" rather than ""This is a quote"".
>
> Yes, but some people would like to see smart quoting. And using <q>
> tags would make that possible.
>
> I guess there are two common types of using double quotes:
> A) as a way to "quote", in which case <q> tags would be good,
> B) as a way to emphasise a word, in which case <em> tags would be
> good, and PmWiki allows this using two single quotes.
>
>
> Hans
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users



-- 
Dominique



More information about the pmwiki-users mailing list