Re: PHP functions to convert markup efficiently [message #183849 is a reply to message #183844] |
Fri, 22 November 2013 13:53 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 11/22/2013 7:48 AM, James Harris wrote:
> Having looked at Markdown and Smarty that people suggested it might be
> better if I bite the bullet and develop my own markup language. It would
> then be easier both to limit what it allows and also to add features as
> needed. I have been running some syntax tests and it seems quite easy to do
> and fast to process even though the markup is currently a little cumbersome
> to write.
>
> "Arno Welzel" <usenet(at)arnowelzel(dot)de> wrote in message
> news:528F32EE(dot)5030800(at)arnowelzel(dot)de...
>> Am 21.11.2013 19:30, schrieb James Harris:
>>
>>> I am looking for a way to mark up text in a way that PHP would be able to
>>> efficiently and quickly convert to HTML.
>>
>> What kind of text?
>
> What are the options? I was just thinking about normal text of the kind that
> would appear on a web page.
>
>> What kind of markup is needed?
>
> Quite a lot. Things like these:
> * bold, italic
> * links to local pages and remote URLs
> * images, code
> * headers, lists, line breaks
> * tables
> * other things will likely be required but are not defined yet
>
> For completeness, I should add that the markup would also need to pull in
> similarly marked up text from other files and to populate tables from
> databases.
>
> James
>
>
So you want to make people learn another markup language which will end
up being just another version of HTML?
HTML is not all that complicated. It just takes a little time. Using a
good validator is also helpful.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|