2008-08-07, 04:17 PM
I love the wonderfulosity of the [php] tag, but I was hoping that there would be one to come out like vBulletin's [html] tag. I think these would all be popular:
Best of all would be if you could create a tag like this:
[webcode]<?php
// syntax highlights here
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<!-- More highlighting here WITHOUT switching to the [html] tag. -->
<head>
<style type="text/css">
/* Even more highlighting without the [css] tag! */
</style>
<script type="text/javascript">
// And more highlighting!
</script>
</head>
<body>
<!-- etc. -->
</body>
</html>[/webcode]
Just an idea!
- HTML
- JavaScript
- CSS
Best of all would be if you could create a tag like this:
[webcode]<?php
// syntax highlights here
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<!-- More highlighting here WITHOUT switching to the [html] tag. -->
<head>
<style type="text/css">
/* Even more highlighting without the [css] tag! */
</style>
<script type="text/javascript">
// And more highlighting!
</script>
</head>
<body>
<!-- etc. -->
</body>
</html>[/webcode]
Just an idea!