Get element name from AST node.
Handles various edge cases including markdown headings, block continuations, and different field names used by tree-sitter grammars.
| node |
AST node |
| code_content |
Source code content for text extraction |
|
Element name, or null if not found |