Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8726

Code highlighting partially broken

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • Documentation
    • None

    Description

      With the recent changes around the documentation build dependencies code highlighting is no longer fully working.

      Sections as below are rendered without any background like here.

      ~~~bash
      # get the hadoop2 package from the Flink download page at
      # {{ site.download_url }}
      curl -O <flink_hadoop2_download_url>
      tar xvzf flink-{{ site.version }}-bin-hadoop2.tgz
      cd flink-{{ site.version }}/
      ./bin/flink run -m yarn-cluster -yn 4 -yjm 1024 -ytm 4096 ./examples/batch/WordCount.jar
      ~~~
      

      Sections using the {% highlight java %} syntax are still working.

      We may have to do a sweep over the docs and port all code sections to the working syntax.

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: