You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd propose to render the description of a solution–if enabled per solution–with parsed Markdown/HTML since I'd like to tell a developer what kind of code-snippet is required/missing to fix the upcoming exception.
E.g.:
BaseSolution::create('Missing code snippet')
->setSolutionDescription(<<<HTML
You may add this code-snippet into your <pre><code>xyz.php</pre></code> file: <pre><code>$some = new RandomCodeExample(); </pre></code> >>>); // or maybe instead the HTML tags pre and code simply using backticks + Markdown support...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'd propose to render the description of a solution–if enabled per solution–with parsed Markdown/HTML since I'd like to tell a developer what kind of code-snippet is required/missing to fix the upcoming exception.
E.g.:
Beta Was this translation helpful? Give feedback.
All reactions