First time here? Check out the FAQ!
1

xml in questions and answers

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?

Evgeny's avatar
13.2k
Evgeny
updated 2011-06-07 12:26:27 -0600
John Turnbull's avatar
11
John Turnbull
asked 2011-06-07 10:09:56 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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® --> 
<note> 
    <to>Tove</to> 
    <from>Jani</from> 
    <heading>Reminder</heading> 
    <body>Don't forget me this weekend!</body> 
</note>

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

Evgeny's avatar
13.2k
Evgeny
updated 2011-06-07 12:23:15 -0600, answered 2011-06-07 12:02:49 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments