Skip to content

Flatdoc shows only blank page #96

Open
@BorisBrock

Description

@BorisBrock

To get started with flatdoc I used the template.html file together with the Readme.md. I changed the code in template.html to the following:

<script>
    Flatdoc.run({
      fetcher: Flatdoc.file('Readme.md')
    });
  </script>


But when I open the template.html in a browser (Firefox ESR 52) all I get is a blank flatdoc page. No contents from the Readme.md are shown. Am I missing something here?

PS:
In the Firefox web console there are three erros:

XML Parsing Error: syntax error
Location: file:///C:/Users/visbbr/Desktop/Doc/Readme.md
Line Number 1, Column 1: Readme.md:1:1

XML Parsing Error: syntax error
Location: file:///C:/Users/visbbr/Desktop/Doc/template.html
Line Number 1, Column 1: template.html:1:1

[Flatdoc] fetching Markdown data failed. Object { readyState: 4, getResponseHeader: .ajax/N.getResponseHeader(), getAllResponseHeaders: .ajax/N.getAllResponseHeaders(), setRequestHeader: .ajax/N.setRequestHeader(), overrideMimeType: .ajax/N.overrideMimeType(), statusCode: .ajax/N.statusCode(), abort: .ajax/N.abort(), state: .Deferred/r.state(), always: .Deferred/r.always(), then: .Deferred/r.then(), 11 more… }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions