You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know what's wrong, but there is no stylesheet in the produced HTML.
However, when I render from a string, a stylesheet is also included.
constasciidoctor=require('asciidoctor')constad=asciidoctor()// has no stylesheet linkvardoc=ad.loadFile(file,{safe: 'unsafe'})varhtml=doc.convert({standalone: true,attributes: {stylesdir: '/static/'}})// has a stylesheet linkvarhtml=ad.convert('= Welcome\n\nHello, _AsciiDoctor_',{standalone: true,attributes: {'stylesdir': '/static/'}}
Why?
The text was updated successfully, but these errors were encountered:
virtualdreams
changed the title
asciidocter.loadFile and convert has no css
asciidoctor.loadFile and convert has no css
Apr 25, 2024
Hello,
I don't know what's wrong, but there is no stylesheet in the produced HTML.
However, when I render from a string, a stylesheet is also included.
Why?
The text was updated successfully, but these errors were encountered: