Closed iStudyMen closed 3 weeks ago
Captions and lume-core
are not part of Lume. They have been created specifically for their use cases.
Captions are generated with this plugin for markdown-it: https://www.npmjs.com/package/@mdit/plugin-alert and the styles are applied here: https://github.com/lumeland/ds/blob/main/src/components/body.css#L65-L116
I don't know if tailwind has a plugin for that, but you can copy/paste these styles (or create others by your own) if you want.
lume-code
is a web component I created for lume.land site. The css code is here https://github.com/lumeland/lume.land/blob/main/_includes/styles/components/code.css and I have a processor to change the HTML code in the build here https://github.com/lumeland/lume.land/blob/main/_config.ts#L66
好的,我已经解决了这个问题,在我的Blog Theme新版本中。
Enter your suggestions in details:
lume-code
andTip caution...
is verycool
, but I can't use that in "tailwind typography"。