Skip to content

Supplemental pages don't process syntax highlighting #902

@iversond

Description

@iversond

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.

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