8000 No css in rendered html · Issue #12 · tom-wolfe/brewdown · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
No css in rendered html #12
Open
Open
@Demonsthere

Description

@Demonsthere

Hi there,
I wanted to try this, as I usually use markdown for my dnd game notes and content, but I couldn't manage to get the CSS working.

I have a simple script that i run on my md files:

const Markdown = require('markdown-it');
const brewdown = require('brewdown');
var fs = require('fs');

const contentFile = "test.md";
const md = new Markdown().use(brewdown, {style: "two-col", pageSize: "letter"});
var content = fs.readFileSync(contentFile, "utf-8");
const html = md.render(content);
// console.log(html)
fs.writeFile('content.html', html, (err) => { 
    if (err) throw err;
})

But the result of an example from Your projects looks like this:
Zrzut ekranu 2019-09-7 o 13 58 12

Could you point me in the right direction here?
Cheers

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

      0