Hello, you have come here looking for the meaning of the word
Module:ko-link. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Module:ko-link, but we will also tell you about its etymology, its characteristics and you will know how to say
Module:ko-link in singular and plural. Everything you need to know about the word
Module:ko-link you have here. The definition of the word
Module:ko-link will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Module:ko-link, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
local export = {}
-- Language-tags any bare links. Used in ].
function export.link(frame)
local text = frame.args
if not text then
return nil
end
local function link(text)
return '<span class="Kore" lang="ko">[['
.. text
.. '#Korean|' .. text .. ']]</span>'
end
local function tag(text)
return '<span class="Kore" lang="ko">' .. text .. '</span>'
end
return (text
:gsub(
"%]+)%]%]",
link)
:gsub( -- Korean words inside parentheses
"%((+)%)",
function (text)
return "(" .. tag(text) .. ")"
end))
end
return export