From 5d4ea3fe62a496ae4dd294d9e166e35dc3812b7c Mon Sep 17 00:00:00 2001 From: nabilmuafa Date: Wed, 13 Nov 2024 10:21:52 +0700 Subject: [PATCH] add color to dart code block & fix typo --- docusaurus.config.ts | 1 + i18n/en/docusaurus-plugin-content-docs/current/tutorial-8.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 209f4cc..a6d861a 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -108,6 +108,7 @@ const config: Config = { prism: { theme: prismThemes.github, darkTheme: prismThemes.dracula, + additionalLanguages: ['dart'], }, } satisfies Preset.ThemeConfig, plugins: [ diff --git a/i18n/en/docusaurus-plugin-content-docs/current/tutorial-8.md b/i18n/en/docusaurus-plugin-content-docs/current/tutorial-8.md index 5744f45..f57c873 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/tutorial-8.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/tutorial-8.md @@ -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.