diff --git a/docs/dg/learningBasics.md b/docs/dg/learningBasics.md index 99ae124c52..1908a4899a 100644 --- a/docs/dg/learningBasics.md +++ b/docs/dg/learningBasics.md @@ -366,7 +366,7 @@ Here are some small tasks for you to gain some basic knowledge of the code relat In `c-summary-charts.vue`, locate `summary-chart__title--name`, and add the following to its `v-bind:class` attribute map. - ```vue + ``` 'active-text': user.name === activeUser && user.repoName === activeRepo ``` @@ -416,7 +416,7 @@ Here are some small tasks for you to gain some basic knowledge of the code relat 3. Try to locate the `span` tag that renders `file.path`, and wraps it inside a new `tooptip`. 4. In the `tooltip`, use the following instructions to handle the switch of tooltip message. - ```vue + ``` span.tooltip-text(v-show="file.active") This is the file path. Click to hide file details span.tooltip-text(v-show="!file.active") This is the file path. Click to show file details ``` @@ -465,7 +465,7 @@ Here are some small tasks for you to gain some basic knowledge of the code relat 3. Wrap the `a` tag in a new `tooltip`. 4. In the `tooltip`, add the following content to show the tooltip message. - ```vue + ``` span.tooltip-text Click to view the detailed file changes in the commit ``` diff --git a/docs/dg/styleGuides.md b/docs/dg/styleGuides.md index 38f10e8aea..69a607c0e1 100644 --- a/docs/dg/styleGuides.md +++ b/docs/dg/styleGuides.md @@ -49,7 +49,7 @@ In addition to what has been mentioned in the [**Java** coding standard (SE-EDU) Negative Examples: ```java -//Not okay (Only mentions zoneId parameter): +// Not okay (Only mentions zoneId parameter): /** * Returns a {@link LocalDateTime} object adjusted for timezone given by {@code zoneId}. */ @@ -57,7 +57,7 @@ public LocalDateTime adjustTimeZone(LocalDateTime sinceDate, ZoneId zoneId) { //Code here } -//Not okay (@param tag used only for zoneId) +// Not okay (@param tag used only for zoneId) /** * Returns a {@link LocalDateTime} object by adjusting {@code sinceDate} * to the timezone given by {@code zoneId}.