hexojs / hexo-theme-landscape

A brand new default theme for Hexo.
https://hexojs.github.io/hexo-theme-landscape/
MIT License
320 stars 378 forks source link

text in power or indice #104

Open ghost opened 6 years ago

ghost commented 6 years ago

the _config.yml (site and theme) doesn't accept markdown syntax. How to write a text in power or indice (e.g in theme.about) ?

tomap commented 5 years ago

You could write HTML directly, and change the rendering of about in your theme to not be htmlencoded: <%- theme.about %> instead of <%= theme.about %>

Be sure to check all instances of theme.about (of config.about )