Skip to content

The format display of the content in the code block is incorrect. #81

Description

@funtime1

issue 1

source code:

  1. test
# datetime对象 (结构化属性)
dt.year       # 年 (如2023)
dt.month      # 月 (1-12)
dt.day        # 日 (1-31)
dt.hour       # 时 (0-23)
dt.minute     # 分 (0-59)
dt.second     # 秒 (0-59)
dt.microsecond # 微秒 (0-999999)

# time.struct_time (9元组)
st.tm_year   # 年
st.tm_mon    # 月 (1-12)
st.tm_mday   # 日 (1-31)
st.tm_hour   # 时 (0-23)
st.tm_min    # 分 (0-59)
st.tm_sec    # 秒 (0-61, 60/61是闰秒)
st.tm_wday   # 周几 (0-6)
st.tm_yday   # 年中第几天 (1-366)
st.tm_isdst  # 夏令时标志 (-1/0/1)

When I exit this card again and then open the card once more, there is an error in the format display:

Image

issue 2

The font color and the background color in the code block are the same. Is it possible to increase the contrast, that is, set them to different colors?

issue 3

When neither AI_MODEL nor AI_API_KEY is set, an error will occur when adding a collection. The error report appears in the backend logs, not on the front-end page.

# AI
AI_MODEL=
AI_API_KEY=

When I set it as a random string, for example:

# AI
AI_MODEL=111
AI_API_KEY=111

there will be no error.

Image

issue 4

Can the API address of an AI model be customized, since it is not possible to access Google's large-scale models in China? We use deepseek.

issue 5

Is it necessary to add the function of sub-categorization?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions