PITS /
00375: decision on Markup processing order
Summary: decision on Markup processing order
Created: 2005-03-09 14:55
Status: Closed - abandoned
Category: Feature
From: Radu
Assigned:
Priority: 2
Version: 2
OS:
Description: PmWiki 1 performed processing in the following sequence:
directives links (, url, and wikiword) block inline markup wikistyles
This sequence was largely dictated by the limitations of v1's data structures, as well as the markup sequences themselves. However, with v2, we discovered that we could usefully move inline markups to occur before link processing (to allow inline markup in text?), so that the sequence is now:
directives inline markup links (, url, and wikiword) block wikistyles
Discussion
I'm wondering if we can now shift block markups to occur before link processing, or perhaps just wikiword processing, resulting in:
directives inline markup block markup links (, url, and wikiword) wikistyles
or perhaps
directives inline markup links () block markup links (bare url and wikiword) wikistyles
This would eliminate a lot of the "aliasing" that arises when WikiWords and urls just "happen" to occur in another markup sequence. And I don't think much would break as a result.
Any thoughts from the various markup authors...? Pm