% This file is embedded in glossaries-extra-manual.pdf 
% Example 96 Nested link text with \glspl
% Label: "ex:nestedlinkglsps"
% arara: pdflatex
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\setabbreviationstyle{long-em-short-em}
\newabbreviation{html}{HTML}{hypertext markup language}
\newabbreviation{ssi}{SSI}{server-side includes}
\newabbreviation{shtml}{SHTML}{\glsps{html} enabled \glsps{ssi}} 
\begin{document}
\tableofcontents
\section{\Glsfmtlong{shtml}}
First use: \gls{shtml}, \gls{html}, \gls{ssi}. 

Next use: \gls{shtml}, \gls{html}, \gls{ssi}. 

\printunsrtglossaries 
\end{document}