function Link(el)
  -- Check if the link contains a .md file and a fragment identifier
  local target = el.target
  local fragment = target:match("#.*")  -- Extracts the fragment (e.g., #ios-sdk-integration)

  if target:match("%.md") and fragment then
    -- Remove everything before the fragment, including the .md extension
    el.target = fragment
  end

  return el
end
