Skip to content

Commit d1563f1

Browse files
mark external links with an arrow
1 parent fed5b5d commit d1563f1

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

‎docs/integrations/phpstorm.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PHP scripts**. With it on, PhpStorm stops at the first line of every request it
2828
receives. That is occasionally useful and usually not what you want, especially
2929
here, where every request arrives.
3030

31-
→ [Zero-configuration debugging](https://www.jetbrains.com/help/phpstorm/zero-configuration-debugging.html)
31+
[Zero-configuration debugging](https://www.jetbrains.com/help/phpstorm/zero-configuration-debugging.html)
3232
· [Start a PHP debugging session](https://www.jetbrains.com/help/phpstorm/php-debugging-session.html)
3333

3434
## Connecting to a client
@@ -59,7 +59,7 @@ session connects and the breakpoints are ignored. The
5959
[Docker](../getting-started/docker.mdx) page sets it alongside the debugger's own
6060
settings.
6161

62-
→ [Configure Xdebug](https://www.jetbrains.com/help/phpstorm/configuring-xdebug.html)
62+
[Configure Xdebug](https://www.jetbrains.com/help/phpstorm/configuring-xdebug.html)
6363

6464
## Breakpoints
6565

@@ -73,7 +73,7 @@ PhpStorm's **Mute Breakpoints** button disables them all at once without deletin
7373
them. It is handy mid-session, but muted breakpoints are still breakpoints as far as
7474
the debugger is concerned — for the overhead to go away they have to be removed.
7575

76-
→ [Breakpoints](https://www.jetbrains.com/help/phpstorm/using-breakpoints.html)
76+
[Breakpoints](https://www.jetbrains.com/help/phpstorm/using-breakpoints.html)
7777

7878
## Step debugging
7979

@@ -89,7 +89,7 @@ which can skip library scripts and any scripts you list, and **PHP | Debug | Ste
8989
Filters**, which can skip magic methods, constructors and named methods. **Force
9090
Step Into** ignores both for a single step.
9191

92-
→ [Step through the program](https://www.jetbrains.com/help/phpstorm/stepping-through-the-program.html)
92+
[Step through the program](https://www.jetbrains.com/help/phpstorm/stepping-through-the-program.html)
9393

9494
## Inspect variables
9595

@@ -102,7 +102,7 @@ the part worth getting into the habit of using.
102102
PhpStorm also shows values inline, greyed out beside the code itself, which often
103103
saves going to the panel at all.
104104

105-
→ [Examine a suspended program](https://www.jetbrains.com/help/phpstorm/examining-suspended-program.html)
105+
[Examine a suspended program](https://www.jetbrains.com/help/phpstorm/examining-suspended-program.html)
106106

107107
## Watches and edits
108108

@@ -115,7 +115,7 @@ warnings about side effects apply exactly as written.
115115
To change a value, double-click it in the variables pane, or use **Set Value** from
116116
its context menu.
117117

118-
→ [Evaluate expressions](https://www.jetbrains.com/help/phpstorm/evaluating-expressions.html)
118+
[Evaluate expressions](https://www.jetbrains.com/help/phpstorm/evaluating-expressions.html)
119119

120120
## Logging
121121

@@ -125,7 +125,7 @@ The Console tab of the Debug tool window carries your script's output, and PHP's
125125
warnings and notices appear there as the request produces them. Nothing needs
126126
enabling on our side; PhpStorm asks for both when the session opens.
127127

128-
→ [Debug tool window: Console](https://www.jetbrains.com/help/phpstorm/debug-tool-window-console.html)
128+
[Debug tool window: Console](https://www.jetbrains.com/help/phpstorm/debug-tool-window-console.html)
129129

130130
## Troubleshooting
131131

@@ -137,4 +137,4 @@ code runs. Our [troubleshooting page](../user-guide/troubleshooting.md) covers t
137137
debugger side, and the debug log at the default level will tell you whether a
138138
connection was attempted and where to.
139139

140-
→ [Troubleshooting PHP debugging](https://www.jetbrains.com/help/phpstorm/troubleshooting-php-debugging.html)
140+
[Troubleshooting PHP debugging](https://www.jetbrains.com/help/phpstorm/troubleshooting-php-debugging.html)

‎src/css/custom.css‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,16 @@ article a {
197197
.theme-admonition-info [class*='admonitionIcon'] svg {
198198
fill: var(--ifm-color-primary);
199199
}
200+
201+
/* Mark links that leave the site. Internal links are written relative, so the
202+
protocol prefix is a reliable test. The marker sits inside the link so it
203+
inherits colour and underline, and is hidden from assistive technology --
204+
screen readers announce the destination from the href already. */
205+
.markdown a[href^='http']::after {
206+
content: '\2197';
207+
display: inline-block;
208+
margin-left: 0.15em;
209+
font-size: 0.85em;
210+
line-height: 1;
211+
vertical-align: baseline;
212+
}

0 commit comments

Comments
 (0)