/codelabs

Towhee codelabs

Primary LanguageJavaScript

Codelabs

Install dependencies

yarn install

Convert codelabs markdown to html

./convert.sh

preview server

# preview milvus codelab
yarn dev-milvus

# preview towhee codelab (not yet)
yarn dev-towhee

Update Codelabs

Once you have finished modifying codelabs, you need to re-convert them to html, then, just refresh your browser

./convert.sh

Suuported syntax

Markdown meta

Each markdown must contain meta information at the head of the document, so that the web system can recognize it as a tutorial

summary: How to use milvus and vgg to implement a reverse image search application id: how-to-do-reverse-image-search categories: milvus tags: demo status: Published authors: Brother Long Feedback Link: https://milvus.io

Info Boxes

Plain Text followed by green and yellow info boxes

Negative
: If you're using Windows make sure to set your text editor to use UNIX line endings!
Positive
: This will appear in a green info box.

You created info boxes!

Bullets

Plain Text followed by bullets

- Hello
- CodeLab
- World

You created bullets!

Numbered List

1. List
1. Using
1. Numbers

You created a numbered list!

Embed an iframe

![https://codepen.io/tzoght/embed/yRNZaP](https://en.wikipedia.org/wiki/File:Example.jpg 'Try Me Publisher')

Youtube video

<video id="mdmtWPqTf-w"></video>

Code block

# Run `python3` in your terminal to operate in the Python interactive mode.
from pymilvus import connections
connections.connect(
  alias="default",
  host='localhost',
  port='19530'
)