我在 Emacs 上得到了这个标记:
<div class ...>
<div class 2 ...>
<div class ="modal fade" id="contactModal" tabindex="0" role="dialog">
<div class ="modal-dialog">
<div class ="modal-content">
<form id ="contactForm" class="form-horizontal" role="form" action="/contact">
有没有一种简单的方法可以通过其层次结构在 Emacs 中格式化此代码,使其更具可读性?,就像这样:
<div class ...>
<div class 2 ...>
<div class ="modal fade" id="contactModal" tabindex="0" role="dialog">
<div class ="modal-dialog">
<div class ="modal-content">
<form id ="contactForm" class="form-horizontal" role="form" action="/contact">