We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec5b0b9 commit a3b677dCopy full SHA for a3b677d
packages/mdx/dev/content/comment-annotations.mdx
@@ -56,6 +56,7 @@ And now we introduce two more annotations: `link` and `label`
56
57
```js focus=4,8
58
function lorem(ipsum, dolor = 1) {
59
+ // link[15:19] #bash-like-comments
60
const sit = ipsum == null && 0
61
dolor = sit - amet(dolor)
62
// link[16:26] https://github.com/code-hike/codehike
@@ -69,7 +70,7 @@ function adipiscing(...elit) {
69
70
}
71
```
72
-Bash like comments
73
+<h3 id="bash-like-comments">Bash like comments</h3>
74
75
```python
76
def lorem(ipsum, dolor = 1):
packages/mdx/src/mdx-client/annotations.tsx
@@ -201,8 +201,6 @@ function CodeLink({
201
return (
202
<a
203
href={url}
204
- target="_blank"
205
- rel="noopener noreferrer"
206
title={title}
207
style={{
208
textDecoration: "underline",
0 commit comments