showoff
showoff copied to clipboard
Supplemental pages don't process syntax highlighting
When accessing the supplemental pages, the code blocks are not processed for syntax highlighting. The paths for the js
and css
folders are looking under /supplemental/css
location instead of ../css
.
A possible solution is to make the supplemental pages inline.
def supplemental(content, static=false)
# supplemental material is by definition separate from the presentation, so it doesn't make sense to attach notes
@slides = get_slides_html(:static=>static, :supplemental=>content, :section=>false, :toc=>:all)
@favicon = settings.showoff_config['favicon']
@wrapper_classes = ['supplemental']
# DJI - Enable this for supplemental pages
@inline = true
erb :onepage
end
Are there issues with changing this option? Possibly conflicts with #893.
Thanks for the report! I'll look into this over the next week