Can I disable the colored border around code in the Live Editor?

1 回表示 (過去 30 日間)
Clement Hilty
Clement Hilty 2022 年 3 月 24 日
コメント済み: Jacky Tsai 2022 年 3 月 25 日
Hello,
I like to use screenshots of code snippets in reports. The MATLAB Live Editor places a colored background and a border around blocks of code. Is there a way to disable this? I'll take anything - community mods, new versions of MATLAB.
  1 件のコメント
Jacky Tsai
Jacky Tsai 2022 年 3 月 25 日
Currently there is no option to change the code block border colors and background color. In addition to using plain script as pointed out below, you could also consider exporting the live script into an HTML file (toolstrip: Export => Export to HTML) and tweak the styling there. For example, replace all border colors with something like transparent. This may be useful especially if you have many code blocks throughout the live script.

サインインしてコメントする。

採用された回答

Cris LaPierre
Cris LaPierre 2022 年 3 月 25 日
You could use a script instead of a live script.

その他の回答 (1 件)

Clement Hilty
Clement Hilty 2022 年 3 月 25 日
Hi Cris,
Thanks for the help. I'll copy my code into scripts to use the white background. I'd really appreciate if the option were available directly for the live editor (if possible, could you put in a request for that?)
Thanks a bunch!
-Clement

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by