Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplemental pages don't process syntax highlighting #902

Open
iversond opened this issue Apr 30, 2019 · 1 comment
Open

Supplemental pages don't process syntax highlighting #902

iversond opened this issue Apr 30, 2019 · 1 comment

Comments

@iversond
Copy link
Contributor

iversond commented Apr 30, 2019

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.

@binford2k
Copy link
Owner

Thanks for the report! I'll look into this over the next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants