-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experiment with better docs shortcuts on the
type
keyword (#37)
See: #35 Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
5 changed files
with
88 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="code bg-danger border"> | ||
<div class="d-flex align-items-center border-bottom"> | ||
<small class="px-2 py-1 border-end flex-grow-1"> | ||
<i class="bi bi-x-lg me-1"></i> {{ .Get 0 }}</small> | ||
<span class="fw-light px-2 py-1"> | ||
<i class="bi bi-filetype-json me-1"></i> | ||
Instance</span> | ||
</div> | ||
{{ $code := trim .Inner "\n" }} | ||
{{ transform.Highlight ($code) "json" }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="code bg-success border"> | ||
<div class="d-flex align-items-center border-bottom"> | ||
<small class="px-2 py-1 border-end flex-grow-1"> | ||
<i class="bi bi-check-lg me-1"></i> {{ .Get 0 }}</small> | ||
<span class="fw-light px-2 py-1"> | ||
<i class="bi bi-filetype-json me-1"></i> | ||
Instance</span> | ||
</div> | ||
{{ $code := trim .Inner "\n" }} | ||
{{ transform.Highlight ($code) "json" }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="code bg-light border"> | ||
<div class="d-flex align-items-center border-bottom"> | ||
<small class="px-2 py-1 border-end flex-grow-1"> | ||
<i class="bi bi-braces me-1"></i> {{ .Get 0 }}</small> | ||
<span class="fw-light px-2 py-1"> | ||
<i class="bi bi-file-code-fill me-1"></i> | ||
Schema</span> | ||
</div> | ||
{{ $code := trim .Inner "\n" }} | ||
{{ transform.Highlight ($code) "json" }} | ||
</div> |