or Create a profile
16 Jul, 2016 03:46 PM
I have a markdown file that Marked likes perfectly well. If I export to html, then I can open the created html file perfectly in Safari. If I copy this html and paste into Blogger as html, Blogger rejects it with the message:
Your HTML cannot be accepted: Tag is broken: TOKENS
This is from the <script> that Marked tacks on to the end of the body of the document. This is valid html, so I suspect Blogger is simply rejecting the script tag with a not so helpful message.
Question is, can I tell Marked not to add this? Or do I just have to keep deleting this section when pasting html to Blogger?
I have attached the files in question for you to look at.
on 16 Jul, 2016 04:27 PM
Export without Style. This will give you very clean code. You can also use "Copy HTML" to get the clean HTML directly to clipboard.
on 16 Jul, 2016 04:51 PM
I knew there had to be a solution to this—Marked can do anything!
Copy HTML works perfectly for me.
However, I can’t figure out what to change in Settings to Export without Style??
If I select Export, nothing happens. If I select Export HTML, I get the <script> stuff.
on 16 Jul, 2016 06:10 PM
It's a check box in the Save dialog that comes up when you select a target
location for the export.
on 16 Jul, 2016 06:14 PM
Got it, thanks. I was confused because when I dropped down the style box, “none” wasn’t there. Didn’t realize that unchecking “Include preview template in output” was what I needed.
on 16 Jul, 2016 06:17 PM
Interesting point. That would possibly be a more intuitive interface
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the Marked staff to resolve this discussion.
This discussion is private.
Only you and Marked support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.