由 AI 生成
A small working example
This page renders a local component, formula and code resource. It does not load a comment provider, badge, remote image, video or diagram library. Its adjacent source is a downloadable resource, never an executable build step.
A useful disclosure
Keep the explanation close
A native disclosure keeps ordinary Markdown and source links intact. Read the composition guide, then choose the smallest component you need.
Local and safe
A small formula
The sum of the first positive integers is . Math is rendered at build time and styled with local KaTeX resources.
Local code
A simple sum下载完整源码
def triangular(n):
"""Return the sum of integers from 1 through n."""
return n * (n + 1) // 2
The original file remains available through its native download. Read resource boundaries before including source of your own.