Skip to content

Commit

Permalink
fix(app): default preset string error
Browse files Browse the repository at this point in the history
  • Loading branch information
LincZero committed Feb 24, 2025
1 parent 7c3c432 commit 5137450
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ provide("LAYOUT", GLayoutRootRef);
// md数据
import { preset_map } from "./utils/preset_map.js"
const mdData = ref<any>({
mdPreset: 'Normal markdown',
string: preset_map['Normal markdown']
mdPreset: 'Normal markdown', // default
string: '# ' + 'Normal markdown' + '\n\n' + preset_map['Normal markdown']
})
</script>

Expand Down
2 changes: 0 additions & 2 deletions src/App/src/utils/preset_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ this is ~~a~~ **MarkDown** *test*
`,
//
'list2table (列表转多叉表格)': `\
# list2table (列表转多叉表格)
[list2table]
- Gymnosperm<br> 裸子植物
Expand Down

0 comments on commit 5137450

Please sign in to comment.