Hello Forum,
sorry if this has been answered elsewhere, I didn’t find appropriate answer and maybe my English isn’t good enough to cover all relevant search terms …
However, I’m coding in PHP with nested HTML as string. For example:
<?php
foreach($page->children("limit=10") as $child) {
echo "<div class='project teaser'>";
echo "<p class='meta'><a href='{$child->url}'>{$child->project_commission} {$child->title}</a></p>
<p class='summary'>{$child->summary} <a href='{$child->url}' title='{$child->title}'> + Mehr erfahren</a></p>";
echo "</div>";
}
?>
With this coding style I’m losing syntax highlighting for the html pieces. Is there a way to maintain it? I have the Soda-Theme installed together with Monokai for Soda.
Thanks for your help