diff --git a/v3/examples/badge-custom/README.md b/v3/examples/badge-custom/README.md index 1724ce84a..8cf0d9d37 100644 --- a/v3/examples/badge-custom/README.md +++ b/v3/examples/badge-custom/README.md @@ -37,7 +37,7 @@ app := application.New(application.Options{ Set a badge on the application tile/dock icon: -**Go** +#### Go ```go // Set a default badge badgeService.SetBadge("") @@ -49,7 +49,7 @@ badgeService.SetBadge("3") badgeService.SetBadge("New") ``` -**JS** +#### JS ```js import {SetBadge} from "../bindings/github.com/wailsapp/wails/v3/pkg/services/badge/service"; @@ -67,12 +67,12 @@ SetBadge("New") Remove the badge from the application icon: -**Go** +#### Go ```go badgeService.RemoveBadge() ``` -**JS** +#### JS ```js import {RemoveBadge} from "../bindings/github.com/wailsapp/wails/v3/pkg/services/badge/service"; diff --git a/v3/examples/badge/README.md b/v3/examples/badge/README.md index aa65bc7aa..abb7b9653 100644 --- a/v3/examples/badge/README.md +++ b/v3/examples/badge/README.md @@ -28,7 +28,7 @@ app := application.New(application.Options{ Set a badge on the application tile/dock icon: -**Go** +#### Go ```go // Set a default badge badgeService.SetBadge("") @@ -40,7 +40,7 @@ badgeService.SetBadge("3") badgeService.SetBadge("New") ``` -**JS** +#### JS ```js import {SetBadge} from "../bindings/github.com/wailsapp/wails/v3/pkg/services/badge/service"; @@ -58,12 +58,12 @@ SetBadge("New") Remove the badge from the application icon: -**Go** +#### Go ```go badgeService.RemoveBadge() ``` -**JS** +#### JS ```js import {RemoveBadge} from "../bindings/github.com/wailsapp/wails/v3/pkg/services/badge/service";