hedy icon indicating copy to clipboard operation
hedy copied to clipboard

[BUG] What is the difference here?

Open Felienne opened this issue 2 years ago • 2 comments

            8:
                start_code: |
                    {repeat} ٥ {times}
                        {print} "مرحباً يا أصدقاء!"
                        {print} "سيتم تكرار كل هذا ٥ مرات"
                story_text: "## الإزاحة\n`{ask}` و `{print}` لا يزالان يعملان بنفس الطريقة التي تعرفونها. لكنهناك تغيير على الأوامر `{if}` و `{repeat}`.\nيمكننا الان عند استخدام هذه الأوامر تنفيذ مجموعة من الأسطر البرمجية مع بعضهم (وليس سطر واحد فقط)، ولكن علينا *إزاحة* الكود. \nهذا يعني وضع اربع فراغات (باستخدام مفتاح المسافة على لوحة المفاتيح اربع مرات). يجب علينا أن نقوم بالإزاحة حتى لو كان الكود يتكون من سطر واحد فقط.\n"
                example_code: "## مثال توضيحي\n```\n{repeat} ٥ {times}\n\t{print} \"مرحباً يا أصدقاء!\"\n\t{print} \"سيتم تكرار كل هذا ٥ مرات\"\n```\n"

start_code works, example_code does not parse nor highlight (from the adventure yaml). I do not have time to dive in now but one day I want to figure this one out.

Felienne avatar May 13 '22 10:05 Felienne

@Felienne could you verify whether or not this issue still exists? I think either it has been fixed, or I should improve my skills in reproducing issues ;)

arjank avatar Jul 29 '22 16:07 arjank

This is not an issue more a note to self!

I will have to dive in myself here

On Friday, 29 July 2022, Arjan @.***> wrote:

@Felienne https://github.com/Felienne could you verify whether or not this issue still exists? I think either it has been fixed, or I should improve my skills in reproducing issues ;)

— Reply to this email directly, view it on GitHub https://github.com/Felienne/hedy/issues/2738#issuecomment-1199675611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHVBJIVZLELHCOTRCSUEZLVWQA2ZANCNFSM5V24T5QA . You are receiving this because you were mentioned.Message ID: @.***>

Felienne avatar Jul 29 '22 17:07 Felienne

This is an editor issue, nothing to be fixed here apart from paying a lot of attention when editing Arabic

Felienne avatar Mar 06 '23 15:03 Felienne