JuliaDocs/Documenter.jl

Julia syntax highlighting seems very limited

Open

#2,224 opened on Aug 20, 2023

View on GitHub
 (16 comments) (0 reactions) (0 assignees)Julia (910 stars) (513 forks)batch import
Format: HTMLType: Upstreamhelp wanted

Description

using Imbalance
using DataFrames
using StatsBase

probs = [0.5, 0.2, 0.3]                         
num_rows, num_cont_feats = 100, 5

X, y = generate_imbalanced_data(num_rows, num_cont_feats; 
                                probs, rng=42)                       
StatsBase.countmap(y)

# apply rose
Xover, yover = rose(X, y; s = 0.3, ratios = Dict(0=>1.0, 1=> 0.9, 2=>0.8), rng = 42)

Notice how markdown on Github colors the modules next to using and the function names. This isn't the case with any @example or @repr code I write using documenter.

Is there anyway to improve the syntax highlighting?

Contributor guide