Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
import re | |
import pyperclip | |
import argparse | |
import sys | |
# 색상 매핑 정의 (색상 코드에 # 포함) | |
color_map = { | |
'Title': '#bb9f5e', # 스킬 표시 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import pyperclip | |
import re | |
def load_color_mapping(json_file): | |
"""Load the color mapping from the JSON file.""" | |
with open(json_file, 'r', encoding='utf-8') as f: | |
return json.load(f) | |
def convert_text(text, mapping): |