egoist / docute

📚 Effortless documentation, done right.
https://docute.egoist.dev
MIT License
3.8k stars 427 forks source link

No leading blank line in <Note></Note> causes ambiguous output #248

Closed mrtoorich closed 5 years ago

mrtoorich commented 5 years ago

Code

<Note type="tip" label="提示">
  可以在 [这里](https://github.com/moment/moment/tree/develop/locale) 查看所有支持的语言。
</Note>

Result

egoist commented 5 years ago

Try:

<Note type="tip" label="提示">

可以在 [这里](https://github.com/moment/moment/tree/develop/locale) 查看所有支持的语言。

</Note>
mrtoorich commented 5 years ago

I know adding a blank line before content will work. But what is the purpose of that? Can Poi also support the same function without blank line?

egoist commented 5 years ago

that's how marked works.

mrtoorich commented 5 years ago

Got it.