Skip to content

Commit

Permalink
add color to dart code block & fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nabilmuafa committed Nov 13, 2024
1 parent 6c6697d commit 5d4ea3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const config: Config = {
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['dart'],
},
} satisfies Preset.ThemeConfig,
plugins: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ Follow the steps below to integrate the authentication system into **Flutter**.
:::note
Don't forget to add `import 'package:pbp_django_auth/pbp_django_auth.dart';` to the top of the file.
:::
`

3. Create a new file in the `screens` folder named `login.dart`.

4. Fill the `login.dart` file with the following code.
Expand Down

0 comments on commit 5d4ea3f

Please sign in to comment.