Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
$winter
Topic Author
Posts: 21
Joined: 24 Jul 2009, 03:13

Copy/Paset from http://www.markitdown.net/markdown

13 Dec 2014, 20:44

Hi if i copy/past some text from on-line editor http://www.markitdown.net/markdown then the cod is not automatic recognized.
If I insert before each line a space then it will be recognized. that is a bit uncomfortable ;)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Copy/Paset from http://www.markitdown.net/markdown

14 Dec 2014, 01:14

Yes. The problem is that the file you are editing from the X3 panel, is a YAML file which includes other settings. Basically, it needs to retain some rules for yaml formatting, which includes two spaces before each line, which is automatic when you edit directly without copy+paste. I agree this is unfortunate though, and in a future version of the panel, we will separate the content section from the other settings, so that you don't need to worry about indenting ...