I am trying to import the markdown file to MadCap Flare.
In the Markdown Import Editor, I filled out the fields in each tab.
The preview screen shown at the Accepted Imported Document screen looks fine. But when I click Accept, it shows the following error.
The file xxxx contains invalid XML:
Do you want to open it as text?
(xxx = htm file)
I click Yes, and opened the text editor. I needed to deal with endless, ununderstandable errors on tags, even though all the syntaxes showing errors perfectly look fine to me.
<for example>
<li><p>Launch a browser and enter the URL for the option.<br>
The login screen will appear.<br>
e.g., https:xxxxx</p>
</li>
The warning disappears when I deleted the closing p tag </p>.
I confused.
Sorry for this if this explanation is not good, but would you please help me with this?
Markdown Importing
-
- Sr. Propeller Head
- Posts: 247
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: Markdown Importing
In this case it's likely not the </p> tag but the <br> tags. XML requires closing slashes for single tags like these and <img> tags:
The space and closing slash should fix these tags. How you get those from markdown I don't know having never used it. Sorry for only half helping...
Rob
Code: Select all
<br />
<img src="something.jpg" />
Rob
Re: Markdown Importing
The errors it seems hopeless are all gone by just adding spaces and closing slashes! Thank you so much!
Yk
Yk