From: Max Patalas <40061559+MxPy@users.noreply.github.com> Date: Sun, 10 Nov 2024 16:58:43 +0000 (+0100) Subject: 📝 Update includes in `docs/vi/docs/tutorial/first-steps.md` (#12754) X-Git-Tag: 0.115.5~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba734c23125b6afc251938e58777824feeda411d;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update includes in `docs/vi/docs/tutorial/first-steps.md` (#12754) Co-authored-by: Sebastián Ramírez --- diff --git a/docs/vi/docs/tutorial/first-steps.md b/docs/vi/docs/tutorial/first-steps.md index 934527b8ed..901c8fd593 100644 --- a/docs/vi/docs/tutorial/first-steps.md +++ b/docs/vi/docs/tutorial/first-steps.md @@ -2,9 +2,7 @@ Tệp tin FastAPI đơn giản nhất có thể trông như này: -```Python -{!../../docs_src/first_steps/tutorial001.py!} -``` +{* ../../docs_src/first_steps/tutorial001.py *} Sao chép sang một tệp tin `main.py`. @@ -133,9 +131,7 @@ Bạn cÅ©ng có thể sá»­ dụng nó để sinh code tá»± động, với các c ### Bước 1: import `FastAPI` -```Python hl_lines="1" -{!../../docs_src/first_steps/tutorial001.py!} -``` +{* ../../docs_src/first_steps/tutorial001.py hl[1] *} `FastAPI` là một Python class cung cấp tất cả chức năng cho API cá»§a bạn. @@ -149,9 +145,7 @@ Bạn cÅ©ng có thể sá»­ dụng tất cả