Comments (1)
By PR #9159. It can specify language for syntax highlighting.
e.g. <code language="{languageId}"
>
Specified languageId
must be included by is hightlight.js
supported language
Otherwise. syntax highlighting is not executed.
For XAML file. It need to customize template's main.js
file to register language alias.
configureHljs: function (hljs) {
hljs.registerAliases('xaml', { languageName: 'xml' });
}
from docfx.
Related Issues (20)
- [Feature Request] Add workflow to update snapshot HTML content files
- [Bug] `Assets` is empty in https://api.github.com/repos/dotnet/docfx/releases/latest HOT 4
- [Feature Request] Ability to specify the log level when calling Docset.Build and Docset.Pdf HOT 1
- [Feature Request] Print PDF's in landscape orientation and using specific page size HOT 2
- [Bug] PDF producer's `version` information is missing on PDF that generated by `docfx pdf` command
- [Feature Request] Add intermediate step/phase: extract
- [Feature Request] Space missing betweeen: `///` and `<summary>` HOT 1
- [Bug] Codecov CI step is silently failed from last week. HOT 1
- [Bug] "Exception: The server disconnected unexpectedly." when running in Azure Devops HOT 11
- [Bug] .NET API bug HOT 2
- [Bug] Markdown xref broken for external xrefmap.yml HOT 5
- [Feature Request] Additional tasks related to the docfx JSON schema
- Content of PDF files comes out scambled HOT 2
- [Bug] docfx pdf command don't accept `Ctrl+C` command interruption
- [Question] Hide TOC in modern template on page in root directory HOT 2
- [Question] How to extend modern template's javascript and tmpl's HOT 2
- [Bug] Modern template always sets the first navbar element as active HOT 1
- [Bug] .NET API / Markdown: Unresolved `cref / xref` tags from `<summary>` in generated markdown. HOT 6
- [Bug] TOC not case insensitive
- [Bug] `memberLayout: separatePages` settings is not applied when using Reference TOC syntax HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docfx.