Creating an anchor to link to

From this post, from six years ago

It seems the only way to create the occassional anchor on a page, to link to, is to enable Markdown Extra. Is this still true?

If so, how do I enable Markdown Extra?

I’ve added

c::set('markdown.extra', true);

in my config.php. file, but it is not working. Here’s the code in my config.php file:

<?php

return [
	c::set('markdown.extra', true),

	'debug'  => false,


	'thumbs' => [
		'srcsets' => [
			'default' => [
				'600w'  => ['width' => 600],
				'900w'  => ['width' => 900],
				'1500w'  => ['width' => 1500],
				'2112w' => ['width' => 2112],
				'2700w' => ['width' => 2700]
			],
			'webp' => [
				'600w'  => ['width' => 600, 'format' => 'webp'],
				'900w'  => ['width' => 900, 'format' => 'webp'],
				'1500w'  => ['width' => 1500, 'format' => 'webp'],
				'2112w' => ['width' => 2112, 'format' => 'webp'],
				'2700w' => ['width' => 2700, 'format' => 'webp']
			]
		]
	]
];

I’ve also tried

'markdown.extra' => true,

This seems like a lot of work just to be able to add an occasional anchor?

You cannot use this method in the return array, it’s deprecated Kirby 2 code, just do it like in the documentation, inside your existing return array:

Hey, that’s cool it works now. Thanks for finding the info, searching for anchor text on the Kirby website wasn’t leading me anywhere!