histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Dynamic Source does not respect lang setting

Open hinogi opened this issue 1 year ago • 0 comments

Describe the bug

If there is a template lang set, like pug, the dynamic source code still shows in plain template mode instead of pug.

Reproduction

<template lang="pug">
  AutoComplete(:options="state.options")
    template(#controls)
      div Disable
         HstCheckbox
</template>

will be shown as

<AutoComplete :options="state.options">
    <template v-bind="controls">
      <div>
        Disable <HstCheckbox />
      </div>
    </template>
</AutoComplete>

System Info

/

Used Package Manager

npm

Validations

hinogi avatar Jan 11 '24 14:01 hinogi