详细说明: - 基于文旅订单班框架复制创建food-order-demo项目 - 修改端口配置为4174避免冲突 - 更新LandingPage为青莳轻食主题(绿色健康风格) - 重新定义7个食品行业专业Agent: * 市场研究专家:轻食市场分析、客群画像 * 营养配方师:营养成分配比、低卡高蛋白设计 * 供应链管理专家:有机食材供应、溯源体系 * 品牌策划师:品牌定位、店铺空间布局 * 财务分析师:投资预算、ROI分析 * 运营管理专家:运营流程、品控标准 * 食品创业导师:中央协调、方案整合 - 创建专用启动脚本start.sh - 验证系统可正常运行在端口4174 - 实现代码复用率90%,符合预期目标 影响文件: web_frontend/food-order-demo/ 技术栈: React 18 + TypeScript + Tailwind CSS + Zustand
85 lines
1.9 KiB
JavaScript
85 lines
1.9 KiB
JavaScript
/**
|
|
* @import {Extension} from 'micromark-util-types'
|
|
*/
|
|
|
|
import { attention, autolink, blockQuote, characterEscape, characterReference, codeFenced, codeIndented, codeText, definition, hardBreakEscape, headingAtx, htmlFlow, htmlText, labelEnd, labelStartImage, labelStartLink, lineEnding, list, setextUnderline, thematicBreak } from 'micromark-core-commonmark';
|
|
import { resolver as resolveText } from './initialize/text.js';
|
|
|
|
/** @satisfies {Extension['document']} */
|
|
export const document = {
|
|
[42]: list,
|
|
[43]: list,
|
|
[45]: list,
|
|
[48]: list,
|
|
[49]: list,
|
|
[50]: list,
|
|
[51]: list,
|
|
[52]: list,
|
|
[53]: list,
|
|
[54]: list,
|
|
[55]: list,
|
|
[56]: list,
|
|
[57]: list,
|
|
[62]: blockQuote
|
|
};
|
|
|
|
/** @satisfies {Extension['contentInitial']} */
|
|
export const contentInitial = {
|
|
[91]: definition
|
|
};
|
|
|
|
/** @satisfies {Extension['flowInitial']} */
|
|
export const flowInitial = {
|
|
[-2]: codeIndented,
|
|
[-1]: codeIndented,
|
|
[32]: codeIndented
|
|
};
|
|
|
|
/** @satisfies {Extension['flow']} */
|
|
export const flow = {
|
|
[35]: headingAtx,
|
|
[42]: thematicBreak,
|
|
[45]: [setextUnderline, thematicBreak],
|
|
[60]: htmlFlow,
|
|
[61]: setextUnderline,
|
|
[95]: thematicBreak,
|
|
[96]: codeFenced,
|
|
[126]: codeFenced
|
|
};
|
|
|
|
/** @satisfies {Extension['string']} */
|
|
export const string = {
|
|
[38]: characterReference,
|
|
[92]: characterEscape
|
|
};
|
|
|
|
/** @satisfies {Extension['text']} */
|
|
export const text = {
|
|
[-5]: lineEnding,
|
|
[-4]: lineEnding,
|
|
[-3]: lineEnding,
|
|
[33]: labelStartImage,
|
|
[38]: characterReference,
|
|
[42]: attention,
|
|
[60]: [autolink, htmlText],
|
|
[91]: labelStartLink,
|
|
[92]: [hardBreakEscape, characterEscape],
|
|
[93]: labelEnd,
|
|
[95]: attention,
|
|
[96]: codeText
|
|
};
|
|
|
|
/** @satisfies {Extension['insideSpan']} */
|
|
export const insideSpan = {
|
|
null: [attention, resolveText]
|
|
};
|
|
|
|
/** @satisfies {Extension['attentionMarkers']} */
|
|
export const attentionMarkers = {
|
|
null: [42, 95]
|
|
};
|
|
|
|
/** @satisfies {Extension['disable']} */
|
|
export const disable = {
|
|
null: []
|
|
}; |