Ask Your Question

xml in questions and answers

asked 2011-06-07 10:09:56 -0500

John Turnbull's avatar

updated 2011-06-07 12:26:27 -0500

Evgeny's avatar

Like everything I see -- a lot! But ...

We will have a community built around xml document editing who will want to ask questions like:

"Should I be using <prereqs> element before the <context> blah </context> ?"

I can that this is working in the editor as I write, but not in the preview window. Can I be sure about the output?

Are there plans to fix the preview?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2011-06-07 12:02:49 -0500

Evgeny's avatar

updated 2011-06-07 12:23:15 -0500

There is an editor button for formatting code that has "1 0 1" etc. on it. Just select the area you want to format the code and hit the button.

It is unfortunately tough to deeply modify the previewer, because the Markdown to HTML conversion is done in two places: by javascript in the browser for the preview and on the server - for the actual output. Any change must be done in two places and both components are third party libraries.

Here is an example - copy-pasted from somewhere else, looks fine in both previewer and the static display (each line prefixed by 4 or more spaces):

<!-- Edited by XMLSpy® --> 
    <body>Don't forget me this weekend!</body> 

and here is an inline version <say>hello</say> - needs to be surrounded by the backticks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-07 10:09:56 -0500

Seen: 152 times

Last updated: Jun 07 '11