JuliaDocs/Documenter.jl

Julia syntax highlighting seems very limited

开放

#2,224 创建于 2023年8月20日

 (16 条评论) (0 个反应) (0 位负责人)Julia (513 个派生)batch import
Format: HTMLType: Upstreamhelp wanted

仓库指标

星标
 (910 个星标)
PR 合并指标
 (平均合并 16天 9小时) (30 天内合并 3 个 PR)

描述

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?

贡献者指南