Regression based on restricted cubic splines showed nonlinear associations of ALT and AST with GDM risk (P-nonlinearity=0.003 and 0.01, respectively; Additional file 1: Fig. S2). Here, GPT is linked to gestational diabetes.