Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to make the script stand out ?

Hi All

If i post a script on the body of my post , how to make the script back ground colour gary ?

 

  • Paste your DAX on DAXFormatter.com, format it, and then "Copy HTML".  In your post, hit the ellipsis (...) and choose the HTML button.  Then paste the HTML there and hit OK.

    Regards,

    Pat

  • Hi Anonymous 

    When you are typing your reply, look for the </> symbol in the toolbar, if you don't see it,then click on the ellipsis ... to expand the toolbar

     

     

    Now click on </> and you'll be prompted to Insert/Edit a Code Sample

     

    Choose a language, it's not that important if you are just posting M or DAX.  I like to use PHP.

    The paste your code and click OK.

    Phil

2 Replies

  • mahoneypat's avatar
    mahoneypat
    Icon for Microsoft Employee rankMicrosoft Employee

    Paste your DAX on DAXFormatter.com, format it, and then "Copy HTML".  In your post, hit the ellipsis (...) and choose the HTML button.  Then paste the HTML there and hit OK.

    Regards,

    Pat

  • Hi Anonymous 

    When you are typing your reply, look for the </> symbol in the toolbar, if you don't see it,then click on the ellipsis ... to expand the toolbar

     

     

    Now click on </> and you'll be prompted to Insert/Edit a Code Sample

     

    Choose a language, it's not that important if you are just posting M or DAX.  I like to use PHP.

    The paste your code and click OK.

    Phil