From 2b036c8a6287f3971986a6ea3b4bf1df41caa0b4 Mon Sep 17 00:00:00 2001 From: amithkoujalgi Date: Thu, 17 Apr 2025 20:31:01 +0530 Subject: [PATCH] Added `CodeEmbed` component to embed code snippets in markdowns --- .../list-library-models.md | 18 ++--- docs/src/components/CodeEmbed/index.js | 72 +++++++++++++++++++ 2 files changed, 81 insertions(+), 9 deletions(-) create mode 100644 docs/src/components/CodeEmbed/index.js diff --git a/docs/docs/apis-model-management/list-library-models.md b/docs/docs/apis-model-management/list-library-models.md index cdb9525..fd222bb 100644 --- a/docs/docs/apis-model-management/list-library-models.md +++ b/docs/docs/apis-model-management/list-library-models.md @@ -2,6 +2,8 @@ sidebar_position: 1 --- +import CodeEmbed from '@site/src/components/CodeEmbed'; + # Models from Ollama Library These API retrieves a list of models directly from the Ollama library. @@ -11,17 +13,15 @@ These API retrieves a list of models directly from the Ollama library. This API fetches available models from the Ollama library page, including details such as the model's name, pull count, popular tags, tag count, and the last update time. -