Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: halo-sigs/plugin-highlightjs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: halo-sigs/plugin-highlightjs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Choose a head ref
  • 5 commits
  • 11 files changed
  • 2 contributors

Commits on Dec 9, 2022

  1. docs: refine readme (#2)

    完善 Readme 中的开发文档和使用文档。
    
    /kind documentation
    
    ```release-note
    None
    ```
    ruibaby authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    b90e884 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2023

  1. chore: update license in plugin.yaml (#4)

    更新 plugin.yaml 中的 License 类型,修复与仓库的 License 文件不对应的问题。
    
    /kind improvement
    
    ```release-note
    None
    ```
    ruibaby authored May 6, 2023
    Configuration menu
    Copy the full SHA
    f369b89 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

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

Commits on Jun 29, 2023

  1. chore: bump halo plugin devtools version (#7)

    - 提升 `run.halo.plugin.devtools` 插件的版本
    - 升级 Gradle 的版本至 8.0
    - SettingFetcher 改为 ReactiveSettingFetcher
    
    /kind improvement
    
    ```release-note
    None
    ```
    ruibaby authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    5292d92 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. feat: support page matching to use code highlighting (#8)

    #### What type of PR is this?
    /kind feature
    
    #### What this PR does / why we need it:
    支持通过页面匹配规则使用代码高亮功能
    
    匹配规则使用 Apache Ant 风格的路径,有三种通配符匹配方法,它们可以组合出很多种灵活的路径模式:
    - `?` 匹配任何单字符  
    - `*` 匹配 0 或者任意数量的字符  
    - `**` 匹配 0 或者更多的层级路径
    
    示例:
    - `com/t?st.jsp` — matches com/test.jsp but also com/tast.jsp or com/txst.jsp
    - `com/*.jsp` — matches all .jsp files in the com directory
    - `com/**/test.jsp` — matches all test.jsp files underneath the com path
    - `org/springframework/**/*.jsp` — matches all .jsp files underneath the org/springframework path
    - `org/**/servlet/bla.jsp` — matches org/springframework/servlet/bla.jsp but also org/springframework/testing/servlet/bla.jsp and org/servlet/bla.jsp
    - `com/{filename:\\w+}.jsp` will match com/test.jsp and assign the value test to the filename variable
    #### Which issue(s) this PR fixes:
    Fixes #6
    
    #### Does this PR introduce a user-facing change?
    ```release-note
    支持通过页面匹配规则使用代码高亮功能
    ```
    guqing authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    c25f8cd View commit details
    Browse the repository at this point in the history
Loading