Site feedback

ZhiLv-MSFT avatar image
0 Votes"
ZhiLv-MSFT suggested

CSS and JS references cannot be added directly in the code example

When add code sample in the answer, the CSS and JS references cannot be added directly.

For example:

143567-1.gif

If I add a space between '<' and 'script', I can add them success. I want to know has there any better method to do that, or can we use the HTML editor used by Stackoverflow.

 < link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css" />
 < link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/buttons/2.0.1/css/buttons.dataTables.min.css" /> 
 < script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script> 
 < script type="text/javascript">
     $(function () {
     
     });
 </script>

the result as below:

143556-2.gif




qna-feedback
1.gif (109.9 KiB)
2.gif (129.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No Solutions

Your Opinion Counts

Share your feedback, or help out by voting for other people's feedback.