aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup/markdown/transform_heading.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor markup package (#32399)wxiaoguang2024-11-041-2/+2
| | | | | | To make the markup package easier to maintain: 1. Split some go files into small files 2. Use a shared util.NopCloser, remove duplicate code 3. Remove unused functions
* Update go dependencies (#32389)wxiaoguang2024-10-311-1/+1
|
* Refactor to use UnsafeStringToBytes (#31358)Oleksandr Redko2024-06-141-3/+3
| | | | | | | The PR replaces all `goldmark/util.BytesToReadOnlyString` with `util.UnsafeBytesToString`, `goldmark/util.StringToReadOnlyBytes` with `util.UnsafeStringToBytes`. This removes one `TODO`. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Resolve lint for unused parameter and unnecessary type arguments (#30750)Chongyi Zheng2024-04-291-1/+1
| | | | | | | | | | Resolve all cases for `unused parameter` and `unnecessary type arguments` Related: #30729 --------- Co-authored-by: Giteabot <teabot@gitea.io>
* Refactor markdown render (#30139)wxiaoguang2024-03-281-0/+32
Only split the file into small ones (and rename AttentionTypes to attentionTypes)