Answer the question
In order to leave comments, you need to log in
How to format html+php code in Visual Studio Code?
I am working with a WordPress theme. Here everywhere in php files - html code but with php inserts. There is some extension that can properly format, say, this code:
<span class="vote-count vote"
itemprop="upvoteCount"><?php
$votes = (int) get_post_meta(get_the_ID(), 'question_vote', true);
echo $votes;
?></span>
Answer the question
In order to leave comments, you need to log in
https://marketplace.visualstudio.com/items?itemNam...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question