Engine
Ledge Framework is a documentation as code framework, it build custom markdown render to render chart, kankban, graphics and others.
Install / Use
/learn @ledge-framework/EngineREADME
Ledge Framework Engine
Legde framework is a documentation as code practises framework.
demo page: https://devops.phodal.com/helper
online editor: https://devops.phodal.com/helper
Syntax
Ledge extend code syntax
```process-step
- step1
- demo
- kanban
```
- Chart
- echarts. Echarts chart.
- chart. Echarts bar chart.
- mindmap. Markdown List to mindmap.
- radar. Markdown List to radar chart.
- tech radar. Markdown list to tech radar chart.
- pie。Pie chart
- quadrant。quadrant chart
- pyramid。pyramid chart
- graphviz。dot to graph
- process visualization
- process-table。process chart
- process-step。process chart 2
- process-card。card process chart
- dev-process。process with logo
- step-line。title only line chart
- table-step。with arrow table chart
- checklist。checklists
- mermaid。use mermaid as visual tools
- toolset。use toolset components to extends
- slider
- line-chart
- pipeline。ci pipeline
- maturity。check, rating with radrar for maturity
slide examples
```toolset
- 用户体验
- 时间
- 成本
- 安全
- 范围
config: {"type": "slider"}
```
Usage
Use with Web Components
- import styles
<link rel="stylesheet" href="https://theme.ledge.ink/styles.css">
- import code
<div id="ledge-content"></div>
<script>
var content = document.getElementById('ledge-content');
var tile = document.createElement('ledge-theme');
var text = "{{ page.content | uri_escape }}"
tile.setAttribute('content', decodeURIComponent(text));
content.appendChild(tile);
</script>
- import script
<script src="https://theme.ledge.ink/runtime-es5.js"></script>
<script src="https://theme.ledge.ink/polyfills-es5.js"></script>
<script src="https://theme.ledge.ink/main-es5.js"></script>
Use in Angular
1.install: yarn add @ledge-framework/render
2.import module
import { LedgeRenderModule } from '@ledge-framework/render';
@NgModule({
imports: [
...
LedgeRenderModule,
]
...
})
- import styles
@import "~@ledge-framework/render/prebuild-theme/index.css";
or import in angular.json
4.use it
<ledge-render [content]="content"></ledge-render>
LICENSE
@ 2020 LiuuY && Phodal Huang. This code is distributed under the MPL license. See LICENSE in this directory.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
349.0kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
109.4kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
