Render embedded code preview by permlink in markdown (#30234)

The permlink in markdown will be rendered as a code preview block, like GitHub

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
wxiaoguang 2024-04-03 01:48:27 +08:00 committed by GitHub
parent eb505b128c
commit ca5c895efb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 450 additions and 21 deletions

View file

@ -11,6 +11,6 @@ import (
func TestMain(m *testing.M) {
unittest.MainTest(m, &unittest.TestOptions{
FixtureFiles: []string{"user.yml"},
FixtureFiles: []string{"user.yml", "repository.yml", "access.yml", "repo_unit.yml"},
})
}