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

Add support for inline code highlighting #3180

Merged

Commits on May 7, 2021

  1. Allow highlightAll to be used with custom selectors

    Resolves highlightjs#945 for non-technical users such as those using
    highlight.js via a WordPress plugin, allowing trivial and much-
    less-invasive inclusion of other elements (such as <code>s not
    wrapped in a <pre>) than existing proposed solutions
    JamesTheAwesomeDude committed May 7, 2021
    Configuration menu
    Copy the full SHA
    5fa3863 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66b2bfb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77ab1fc View commit details
    Browse the repository at this point in the history
  4. Accept suggestions from joshgoebel

    Strongly consider that since it seems that `code:not(pre code)`
    are excluded from in the definition of "code blocks"
    
    - therefore, reconsider this?:
    https://github.com/highlightjs/highlight.js/blob/11.0.0-beta0/src/styles/default.css#L11-L12
    JamesTheAwesomeDude committed May 7, 2021
    Configuration menu
    Copy the full SHA
    1cf7805 View commit details
    Browse the repository at this point in the history
  5. no need to add discussion links to every option

    Co-authored-by: Josh Goebel <me@joshgoebel.com>
    JamesTheAwesomeDude and joshgoebel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    d264b08 View commit details
    Browse the repository at this point in the history
  6. Don't coerce any non-block elements to be blocks

    This nearly-singlehandedly resolves
    highlightjs#945
    JamesTheAwesomeDude committed May 7, 2021
    Configuration menu
    Copy the full SHA
    bd421b6 View commit details
    Browse the repository at this point in the history
  7. Update CHANGES.md

    Co-authored-by: Josh Goebel <me@joshgoebel.com>
    JamesTheAwesomeDude and joshgoebel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    0fa4ff3 View commit details
    Browse the repository at this point in the history
  8. Update docs/api.rst

    Co-authored-by: Josh Goebel <me@joshgoebel.com>
    JamesTheAwesomeDude and joshgoebel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    14b9ae5 View commit details
    Browse the repository at this point in the history
  9. Update CHANGES.md

    Co-authored-by: James <codegeek98+github@gmail.com>
    joshgoebel and JamesTheAwesomeDude committed May 7, 2021
    Configuration menu
    Copy the full SHA
    a46dc54 View commit details
    Browse the repository at this point in the history
  10. Revert "Don't coerce any non-block elements to be blocks"

    This reverts commit bd421b6.
    joshgoebel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    cca3620 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e09501e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    568c6d0 View commit details
    Browse the repository at this point in the history
  13. lint

    joshgoebel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    1026130 View commit details
    Browse the repository at this point in the history
  14. fix types

    joshgoebel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    42fed9e View commit details
    Browse the repository at this point in the history
  15. grrrr lol

    joshgoebel committed May 7, 2021
    Configuration menu
    Copy the full SHA
    0d52f5c View commit details
    Browse the repository at this point in the history

Commits on May 8, 2021

  1. Configuration menu
    Copy the full SHA
    59b2926 View commit details
    Browse the repository at this point in the history