Skip to content

Commit 9c7a2cb

Browse files
committed
Adding support for {@code ...}, introduced in the Winter 26 release.
1 parent 88b2932 commit 9c7a2cb

File tree

14 files changed

+64
-746
lines changed

14 files changed

+64
-746
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ target/
1818
/.illuminatedCloud/
1919
**/tsconfig*.json
2020
**/*.tsbuildinfo
21+
22+
**/graphql.config.yml

.idea/vcs.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/vitepress/docs/.vitepress/cache/deps/_metadata.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
2-
"hash": "1be9f690",
2+
"hash": "e27cc44a",
33
"configHash": "7f7b0dad",
4-
"lockfileHash": "538e5018",
5-
"browserHash": "cc0537e6",
4+
"lockfileHash": "66851dcb",
5+
"browserHash": "4e79f947",
66
"optimized": {
77
"vue": {
88
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
99
"file": "vue.js",
10-
"fileHash": "2b2c08f3",
10+
"fileHash": "a669ecd4",
1111
"needsInterop": false
1212
},
1313
"vitepress > @vue/devtools-api": {
1414
"src": "../../../../node_modules/@vue/devtools-api/dist/index.js",
1515
"file": "vitepress___@vue_devtools-api.js",
16-
"fileHash": "227c4111",
16+
"fileHash": "db43a49d",
1717
"needsInterop": false
1818
},
1919
"vitepress > @vueuse/core": {
2020
"src": "../../../../node_modules/@vueuse/core/index.mjs",
2121
"file": "vitepress___@vueuse_core.js",
22-
"fileHash": "bb45f4ef",
22+
"fileHash": "46684668",
2323
"needsInterop": false
2424
},
2525
"@theme/index": {
2626
"src": "../../../../node_modules/vitepress/dist/client/theme-default/index.js",
2727
"file": "@theme_index.js",
28-
"fileHash": "e6db9a93",
28+
"fileHash": "d7d94412",
2929
"needsInterop": false
3030
}
3131
},

examples/vitepress/docs/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ These classes are new.
1010

1111
### BaseClass
1212

13+
This is a base class.
14+
15+
{@literal some literal <script>text</script>}
1316
### MultiInheritanceClass
1417

1518
### Url

examples/vitepress/docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Represents a speaker at an event.
6161

6262
### [BaseClass](miscellaneous/BaseClass)
6363

64+
This is a base class.
65+
66+
{@literal some literal <script>text</script>}
67+
6468
### [MultiInheritanceClass](miscellaneous/MultiInheritanceClass)
6569

6670
### [ParentInterface](miscellaneous/ParentInterface)

examples/vitepress/docs/miscellaneous/BaseClass.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,22 @@ title: BaseClass
55
# BaseClass Class
66
`abstract`
77

8+
This is a base class.
9+
10+
{@literal some literal <script>text</script>}
11+
812
## Namespace
913
apexdocs
1014

15+
## Example
16+
```apex
17+
public class DerivedClass extends BaseClass {
18+
public void sampleMethod() {
19+
// Implementation here
20+
}
21+
}
22+
```
23+
1124
## Fields
1225
### `sampleEnumFromBase`
1326

examples/vitepress/docs/miscellaneous/SampleException.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: SampleException
66

77
This is a sample exception.
88

9-
**Usage**
9+
**Usage**
1010

1111
You can use the exception the following way.
1212
You can also take a look at [SampleClass](../samplegroup/SampleClass) to see how it is used.

examples/vitepress/docs/miscellaneous/SampleInterface.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: SampleInterface
88

99
This is a sample interface
1010

11-
**Mermaid**
11+
**Mermaid**
1212

1313
graph TD
1414
A[SampleInterface] -->|extends| B[ParentInterface]
@@ -40,15 +40,15 @@ sampleInterface.sampleMethod();
4040

4141
This is a sample method
4242

43-
**Custom Tag**
43+
**Custom Tag**
4444

4545
This is a custom tag
4646

47-
**Another Custom Tag**
47+
**Another Custom Tag**
4848

4949
This is another custom tag
5050

51-
**Mermaid**
51+
**Mermaid**
5252

5353
graph TD
5454
A[SampleInterface] -->|extends| B[ParentInterface]

examples/vitepress/docs/miscellaneous/Url.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Url
77
Represents a uniform resource locator (URL) and provides access to parts of the URL.
88
Enables access to the base URL used to access your Salesforce org.
99

10-
**Usage**
10+
**Usage**
1111

1212
Use the methods of the `System.URL` class to create links to objects in your organization. Such objects can be files, images,
1313
logos, or records that you want to include in external emails, in activities, or in Chatter posts. For example, you can create
@@ -32,7 +32,7 @@ Account acct = [SELECT Id FROM Account WHERE Name = 'Acme' LIMIT 1];
3232
String fullRecordURL = URL.getOrgDomainURL().toExternalForm() + '/' + acct.Id;
3333
```
3434

35-
**Version Behavior Changes**
35+
**Version Behavior Changes**
3636

3737
In API version 41.0 and later, Apex URL objects are represented by the java.net.URI type, not the java.net.URL type.
3838

@@ -102,7 +102,7 @@ global Url(String spec)
102102

103103
Creates a new instance of the URL class by parsing the specified spec within the specified context.
104104

105-
**Usage**
105+
**Usage**
106106

107107
The new URL is created from the given context URL and the spec argument as described in RFC2396 "Uniform Resource Identifiers : Generic * Syntax" :
108108
```xml
@@ -181,7 +181,7 @@ The authority portion of the current URL.
181181

182182
Returns the URL of an entire request on a Salesforce instance.
183183

184-
**Usage**
184+
**Usage**
185185

186186
An example of a URL for an entire request is https://yourInstance.salesforce.com/apex/myVfPage.apexp.
187187

@@ -201,7 +201,7 @@ The URL of the entire request.
201201

202202
Returns the default port number of the protocol associated with the current URL.
203203

204-
**Usage**
204+
**Usage**
205205

206206
Returns -1 if the URL scheme or the stream protocol handler for the URL doesn't define a default port number.
207207

@@ -281,15 +281,15 @@ The host name of the current URL.
281281

282282
Returns the canonical URL for your org. For example, https://MyDomainName.my.salesforce.com.
283283

284-
**Usage**
284+
**Usage**
285285

286286
Use getOrgDomainUrl() to interact with Salesforce REST and SOAP APIs in Apex code. Get endpoints for User Interface API calls, for creating and customizing picklist value sets and custom fields, and more.
287287

288288
`getOrgDomainUrl()` can access the domain URL only for the org in which the Apex code is running.
289289

290290
You don't need a RemoteSiteSetting for your org to interact with the Salesforce APIs using domain URLs retrieved with this method.
291291

292-
**See Also**
292+
**See Also**
293293

294294
* [Lightning Aura Components Developer Guide: Making API Calls from Apex](https://developer.salesforce.com/docs/atlas.en-us.250.0.lightning.meta/lightning/apex_api_calls.htm)
295295

examples/vitepress/docs/sample-enums/SampleEnum.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ This is a sample enum. This references [ReferencedEnum](../miscellaneous/Referen
1010

1111
This description has several lines
1212

13-
**Some Custom**
13+
**Some Custom**
1414

1515
Test. I can also have a [ReferencedEnum](../miscellaneous/ReferencedEnum) here.
1616
And it can be multiline.
1717

18-
**Mermaid**
18+
**Mermaid**
1919

2020
graph TD
2121
A[SampleEnum] -->|references| B[ReferencedEnum]

0 commit comments

Comments
 (0)