What is the problem this feature would solve?
I have this in one of the markdown files of the node-llama-cpp documentation:
<script setup lang="ts">
import {data} from "./cmakeOptions.data.js";
const cmakeOptionsTable = data.cmakeOptionsTable;
const cmakeOptionsFileUrl = data.cmakeOptionsFileUrl;
</script>
`llama.cpp` has CMake build options that can be configured to customize the build.
:::details `llama.cpp` CMake build options
<div v-html="cmakeOptionsTable"></div>
> Source: <a :href="cmakeOptionsFileUrl">`CMakeLists`</a>
:::
When using the vitepress-plugin-llms plugin, it renders into this:
`llama.cpp` has CMake build options that can be configured to customize the build.
:::details `llama.cpp` CMake build options
> Source: `CMakeLists`
:::
With stripHTML: false it renders into this:
<script setup lang="ts">
import {data} from "./cmakeOptions.data.js";
const cmakeOptionsTable = data.cmakeOptionsTable;
const cmakeOptionsFileUrl = data.cmakeOptionsFileUrl;
</script>
`llama.cpp` has CMake build options that can be configured to customize the build.
:::details `llama.cpp` CMake build options
<div v-html="cmakeOptionsTable"></div>
> Source: <a :href="cmakeOptionsFileUrl">`CMakeLists`</a>
:::
It's worth noting that in this example the content of cmakeOptionsTable is an HTML table, but I still want to include it in the output.
What is the feature you are proposing to solve the problem?
Use the relevant component from Vitepress to execute the code inside markdown files to render their dynamic content.
What alternatives have you considered?
No alternatives
What is the problem this feature would solve?
I have this in one of the markdown files of the
node-llama-cppdocumentation:When using the
vitepress-plugin-llmsplugin, it renders into this:With
stripHTML: falseit renders into this:It's worth noting that in this example the content of
cmakeOptionsTableis an HTML table, but I still want to include it in the output.What is the feature you are proposing to solve the problem?
Use the relevant component from Vitepress to execute the code inside markdown files to render their dynamic content.
What alternatives have you considered?
No alternatives