Submitted by josh on 2019/10/04 08:33
 Hello,
 
When I copied and edited the default style sheet and added it to the default style sheet in the options for the Document Pane, it doesn't appear to be applying to the Browse Mode of the Markdown document. When I am in the Doc Pane, and Go to Menu > Edit > Edit Style Sheet, the sheet that comes up is my custom sheet, but the changes I make are not taking effect. For testing I made a H3 30 pt font, and it didn't change at all. I've restarted InfoQube and refreshed the grids, but it doesn't update.
 
Doe Style Sheets not apply to Markdown documents? Or is there another setting I am missing?
 
Update: The style sheet is working for the HTML docs, just not Markdown previewed docs.
 
 
Cheers,
Josh

Comments

Hi Josh,
 
Indeed, the style sheet dropdown does not work for markdown documents (yet)
 
See section 8 in Using Markdown documents
[quote]

8. Style Sheets and other header information

The Markdown document uses the MultiMarkdown syntax which is an extension over the standard Markdown. Of the enhancements, the format supports a header section:

  • CSS: Full path to the style sheet file
  • Title: Document title
  • Base Header Level: X : Offsets the Header level (i.e. for 3, a # generates an H3

The CSS file is particularly useful since it allows full control over the HTML generated from the Markdown

[/quote]

 
Pierre_Admin
IQ Designer
 

josh

2019/10/04 12:14

In reply to by Pierre_Admin

 Thanks, Pierre!
 
That works perfectly.
 
I saw the (yet), I would love to see Markdown files either follow the same default CSS file or have another option in settings to define the CSS file, while retaining the ability to specify per file which css to use.
 
Cheers,
Josh

In v114i:
  • Fixed: Doc pane: Markdown documents were sometimes not loaded correctly
  • Fixed: Doc pane: Markdown document now apply the item style sheet
 
Pierre_Admin
IQ Designer
 

josh

2019/10/26 07:23

In reply to by Pierre_Admin

 Thanks, Pierre!