此编辑器很久未更新,有些奇奇怪怪的显示 bug
<!-- prism 代码高亮插件如何使用 -->
<pre class="line-numbers" data-start="-5"><code class="language-css" ></code></pre>
如果static 下的资源出现异常,需要去用th:src = "@{/img/profile.jpg}" 指定资源路径
但目前因为idea 移动文件 勾选了 search reference 选项还没出错误
thymeleaf 模板页面
th:case=""
th:each=" : ${}"
<li th:each=" : ${}"></li>
th:field="*{}"
<form th:action="@{}"></form>
th:if="@{}"
th:object="${}"
th:href="@{}"
th:switch="${}"
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
...
</head>
<body>
...
</body>
</html>
th:text="${}"
th:value=""