Skip to content

Commit 77f68e0

Browse files
committed
Temporarily disable bibtex language for code blocks
1 parent 65364c2 commit 77f68e0

File tree

4 files changed

+36
-18
lines changed

4 files changed

+36
-18
lines changed

Writerside/topics/BibTeX.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ TeXiFy will try to detect this, and automatically compile with the right compile
4242
```
4343

4444
`references.bib`
45-
```bibtex
45+
<!-- ```bibtex -->
46+
```
4647
@Book{knuth1990,
4748
author = {Knuth, Donald E.},
4849
title = {The {\TeX}book },
@@ -74,7 +75,8 @@ An example of using the biblatex package:
7475
```
7576

7677
`references.bib`
77-
```bibtex
78+
<!-- ```bibtex -->
79+
```
7880
@article{greenwade1993,
7981
author = "George D. Greenwade",
8082
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
@@ -136,7 +138,8 @@ When you select it, the bibtex id will be inserted.
136138
TeXiFy supports the use of `@string` variables in bibtex files, including syntax highlighting, autocompletion and 'go to source' navigation (<shortcut>Ctrl + B</shortcut> by default).
137139

138140
A usage example is the following.
139-
```bibtex
141+
<!-- ```bibtex -->
142+
```
140143
@string{mytext = "This is a note."}
141144
142145
@Article{greenwade1993,
@@ -201,7 +204,8 @@ Discrete shape cites~\cite{goossens93}.
201204
```
202205

203206
`references.bib`
204-
```bibtex
207+
<!-- ```bibtex -->
208+
```
205209
@Book{knuth1990,
206210
author = {Knuth, Donald E.},
207211
title = {The {\TeX}book },

Writerside/topics/Code-navigation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ Autocompletion is also available (for any file type).
140140

141141
An example:
142142

143-
```bibtex
143+
<!-- ```bibtex -->
144+
```
144145
@book{knuth1990,
145146
author = {Knuth, Donald E.},
146147
title = {The {\TeX} book },

Writerside/topics/Contributing-to-the-documentation.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,41 @@ Writerside syntax is based on Markdown, but with some extra features.
1515

1616
* Display keyboard shortcuts:
1717

18-
```markdown
18+
<!-- ```markdown -->
19+
```
1920
<shortcut>Ctrl + \\</shortcut>
2021
```
2122

2223
results in <shortcut>Ctrl + \\</shortcut>
2324

2425
* Display menu selections:
2526

26-
```markdown
27+
<!-- ```markdown -->
28+
```
2729
<ui-path>File | New | LaTeX File</ui-path>
2830
```
2931

3032
results in <ui-path>File | New | LaTeX File</ui-path>
3133

3234
* Reference elements like [headings on the same page](#writerside-syntax-overview):
3335

34-
```markdown
36+
<!-- ```markdown -->
37+
```
3538
[Refer to](#my-heading)
3639
3740
## My Heading
3841
```
3942

4043
* Reference [other pages](Contributing-to-the-source-code.md):
4144

42-
```markdown
45+
<!-- ```markdown -->
46+
```
4347
[Other page](Contributing-to-the-source-code.md)
4448
```
4549

4650
* To include images/gifs, put them in the `images` directory, possibly in a subdirectory, and use
4751

48-
```markdown
52+
<!-- ```markdown -->
53+
```
4954
![My Image](my-image.png)
5055
```

Writerside/topics/Errors-and-warnings.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,7 +2186,8 @@ bytes).
21862186
Test file:
21872187

21882188
`references.bib`
2189-
```bibtex
2189+
<!-- ```bibtex -->
2190+
```
21902191
@Book{knuth1990,
21912192
author = {Knuth, Donald E.},
21922193
title = {The {\TeX}book },
@@ -2304,7 +2305,8 @@ Stuff after "}"---line 2 of file strange.aux
23042305

23052306
### White space in argument
23062307

2307-
```bibtex
2308+
<!-- ```bibtex -->
2309+
```
23082310
@Book{knuth 1990,
23092311
author = {Knuth, Donald E.},
23102312
title = {The {\TeX}book },
@@ -2455,7 +2457,8 @@ function format.names is illegal in its own definition
24552457

24562458
### A bad cross reference--entry "<key>" refers to entry "<key>", which doesn't exist
24572459

2458-
```bibtex
2460+
<!-- ```bibtex -->
2461+
```
24592462
@Book{knuth1990,
24602463
author = {Knuth, Donald E.},
24612464
title = {The {\TeX}book },
@@ -2479,7 +2482,8 @@ Warning--I didn't find a database entry for "nothing"
24792482

24802483
### Too many commas in name
24812484

2482-
```bibtex
2485+
<!-- ```bibtex -->
2486+
```
24832487
@Book{knuth1990,
24842488
author = {D.E. Knuth, D.E. Knuth, D.E. Knuth, D.E. Knuth, D.E. Knuth, D.E. Knuth, D.E. Knuth},
24852489
title = {The {\TeX} book },
@@ -2519,7 +2523,8 @@ Process finished with exit code 0
25192523

25202524
### I'm ignoring <something>
25212525

2522-
```bibtex
2526+
<!-- ```bibtex -->
2527+
```
25232528
@Book{knuth1990,
25242529
author = {Knuth, Donald E.},
25252530
author = {Knuth, Donald E.},
@@ -2539,7 +2544,8 @@ Warning--I'm ignoring knuth1990's extra "author" field
25392544

25402545
### entry type for "<key>" isn't style-file defined
25412546

2542-
```bibtex
2547+
<!-- ```bibtex -->
2548+
```
25432549
@online{knuth1990,
25442550
author = {Knuth, Donald E.},
25452551
title = {The {\TeX}book },
@@ -2556,7 +2562,8 @@ Warning--entry type for "knuth1990" isn't style-file defined
25562562

25572563
### You've nested cross references
25582564

2559-
```bibtex
2565+
<!-- ```bibtex -->
2566+
```
25602567
@Book{knuth1990,
25612568
author = {Knuth, Donald E.},
25622569
title = {The {\TeX}book },
@@ -2618,7 +2625,8 @@ Warning--I didn't find any fields--line 1 of file style.bst
26182625

26192626
### string name "<name>" is undefined
26202627

2621-
```bibtex
2628+
<!-- ```bibtex -->
2629+
```
26222630
@Article{greenwade1993,
26232631
author = ``George D. Greenwade'',
26242632
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",

0 commit comments

Comments
 (0)