mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-02-17 15:01:42 +08:00
Fix markdown line breaks, fix pre-commit
This commit is contained in:
parent
29b91fcc46
commit
d1969e0416
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
cd frontend-new
|
||||
cd frontend
|
||||
pnpm prettier --write src/types/generated/**.*
|
||||
pnpm lint-staged
|
||||
|
||||
|
@ -92,7 +92,7 @@ function setupAdmonition() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="{ 'prose max-w-full rounded markdown hyphens-auto break-all': true, 'p-4': !inline, inline: inline }">
|
||||
<div :class="{ 'prose max-w-full rounded markdown break-words': true, 'p-4': !inline, inline: inline }">
|
||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||
<div v-if="!loading" v-bind="$attrs" v-html="renderedMarkdown" />
|
||||
<div v-else><Spinner class="stroke-gray-400" /></div>
|
||||
|
Loading…
Reference in New Issue
Block a user